| |

VerySource

 Forgot password?
 Register
Search
View: 657|Reply: 2

How do the class definition (.h) and class implementation (.cpp) files added in the project relate to the corresponding

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-1-29 13:00:01
| Show all posts |Read mode
I added class definition (.h) and class implementation (.cpp) files to a project, and added corresponding dialog boxes to the resource file, but a syntax error occurred during compilation, prompting the dialog involved in the .h file The box ID and control ID are not defined. After deleting the .clw file, .ncb file, .opt file, etc. and generating the .clw file, there is still this error. What should I do? Thank you!
Reply

Use magic Report

0

Threads

32

Posts

27.00

Credits

Newbie

Rank: 1

Credits
27.00

 Invalid IP Address

Post time: 2020-3-2 18:45:02
| Show all posts
You need to include the data header file where the dialog ID and control ID are used, such as generally resource.h
Reply

Use magic Report

0

Threads

55

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-3-4 20:15:01
| Show all posts
When you right-click in the dialog interface, after selecting the class wizard, you will be prompted to select the corresponding class.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list