TChart in a common library
Posted: Thu Mar 18, 2004 7:36 am
Hello !
I have a little question. I need to design a class that will encapsulate the TChart control (to provide more specific utilities) in C++. Of course I want to reuse this class in several project. So I want to put the .cpp and the .h files in a common library directory.
The problem is that I need to include the TChart header file in my cpp file. As my file is in my library and the tchart header file is in my current project directory, there is a BIG problem !!
So I want to know if I can put all the files generated by the ActiveX in this common library also ? And what do I have to do to insert the control in a new project without adding the files in the project directory but take those from the library.
Any idea ?
Thanks
I have a little question. I need to design a class that will encapsulate the TChart control (to provide more specific utilities) in C++. Of course I want to reuse this class in several project. So I want to put the .cpp and the .h files in a common library directory.
The problem is that I need to include the TChart header file in my cpp file. As my file is in my library and the tchart header file is in my current project directory, there is a BIG problem !!
So I want to know if I can put all the files generated by the ActiveX in this common library also ? And what do I have to do to insert the control in a new project without adding the files in the project directory but take those from the library.
Any idea ?
Thanks