J
Dear listers,
I am programming in C++ with Visual C 6.
When I create a new application, I intend to reuse some classes I have read in other projects. (one of the interest of C++). I have some difficulties to reuse classes with resource (dialog box for example). Now, I drag and drop the dialog box resource from a project to the new one, and after , I create a new class with
classwizard, and after I eliminate the content of the new generated class and I replace it with my old class. This the sole solution I have found to keep the class in the classwizard. If I add the odl class directly in the project, the classwizard does not recognize it, and it becomes more difficult to add new messages or new functions without the classwizard. Does anyone know a method to reuse user classes based on MFC on new project.
Thank you.
J-F Portala
SoViLor company
I am programming in C++ with Visual C 6.
When I create a new application, I intend to reuse some classes I have read in other projects. (one of the interest of C++). I have some difficulties to reuse classes with resource (dialog box for example). Now, I drag and drop the dialog box resource from a project to the new one, and after , I create a new class with
classwizard, and after I eliminate the content of the new generated class and I replace it with my old class. This the sole solution I have found to keep the class in the classwizard. If I add the odl class directly in the project, the classwizard does not recognize it, and it becomes more difficult to add new messages or new functions without the classwizard. Does anyone know a method to reuse user classes based on MFC on new project.
Thank you.
J-F Portala
SoViLor company