I am using TChart Pro ActiveX 2015. I want to build a .lib with all the TChart 2015 .cpp and .h files.
Then in my application which is dll I want to link statically with the .lib.
In Visual Studio 2010, what type of new project should I create if I want the COM support (COleDispatchDriver etc.)?
The plan is to link statically with the .lib and then use the provided ocx component (TChart2015.ocx) at runtime.
Building TChart Classes into .lib
Re: Building TChart Classes into .lib
I want to add that currently I build the TChart classes into my application (dll) but I want to avoid that by building a .lib and linking with that.
Re: Building TChart Classes into .lib
Hi,
It looks as if the best way to achieve what you want is to ...
It seems that here you would select the 'Static library' option. I tried that and it appears to work ok to create a project with .lib output.
I hope that may be of help.
Regards,
Marc Meumann
It looks as if the best way to achieve what you want is to ...
(http://stackoverflow.com/questions/5840 ... n-visual-c)create a Win32 project, and in the Application Settings on the next page, choose ....
It seems that here you would select the 'Static library' option. I tried that and it appears to work ok to create a project with .lib output.
I hope that may be of help.
Regards,
Marc Meumann
Steema Support
Re: Building TChart Classes into .lib
Thanks. I tried that and it worked.