I downloaded a source code which contains both .h and .cpp files. In order to use this code I have to create a new class inside classwizard and then assign the variable type to the new class.
This is what I did:
-I added .h and .cpp to my project folder.
-Went to ClassWizard, and tired to assign my static text to the variable type of the new class, but I didn't find the new class name in the drop down menu.
How do I add the new class to my classWizard.
Please explain step by step....thanks
System Programming
Last Comment
BerMuDa
8/22/2022 - Mon
AlexFM
1) Using Class Wizard create variable of type CStatic
2) Include downloaded .h file to your dialog .h file
3) Manually replace class member type from CStatic to new class.
vadik
ClassWizard stores the information about your project's classes in a file with the file extension .clw. To accommodate source files that have changed, ClassWizard displays the Repair Class Information dialog box whenever it finds that the information in the .clw file is out of date.
The Repair Class Information dialog box has two main functions:
1) Deleting obsolete classes from the ClassWizard file
2) Updating the ClassWizard file with the new name or location of classes that you have changed or moved
You need to delete this (*.clw) file from yours project's directory.
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
2) Include downloaded .h file to your dialog .h file
3) Manually replace class member type from CStatic to new class.