| |

VerySource

 Forgot password?
 Register
Search
View: 786|Reply: 3

A strange question?

[Copy link]

2

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-16 20:40:01
| Show all posts |Read mode
My program has the following errors? Looking for a master.
d:\visual c ++ program design and practice\myprint\myprintdlg.h (22): error C2065: 'IDD_MYPRINT_DIALOG': undeclared identifier
d:\visual c ++ program design and practice\myprint\myprintdlg.h (22): error C2057: expected constant expression
PrintView.cpp

The error line in the class CMyPrintDlg line 22 code is:
   enum {IDD = IDD_MYPRINT_DIALOG};

But the ID of my dialog is IDD_MYPRINT_DIALOG
Reply

Use magic Report

0

Threads

55

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-1-28 13:36:01
| Show all posts
The CPP of the dialog box does not include the header file of the application class (APP).
Reply

Use magic Report

0

Threads

6

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-30 22:36:01
| Show all posts
Is not including the resource.h file
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-31 12:54:01
| Show all posts
As mentioned above? learning
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