Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The following syntex errors are occ

Status
Not open for further replies.

wasimhc

Programmer
Sep 14, 2002
16
0
0
HK
The following syntex errors are occured in my project.

error C2065: 'IDD_MSG' : undeclared identifier
error C2057: expected constant expression
error C2065: 'IDD_DIALOG1' : undeclared identifier
error C2057: expected constant expression
error C2065: 'IDC_Name' : undeclared identifier
error C2065: 'IDC_Password' : undeclared identifier
error C2065: 'IDC_Login' : undeclared identifier

Please help.

Sincerely,

Haider
 
Hi,

From the above it looks as though you've changed the Constants used is your Login Dialog. Open the dialog in the resource editor and check the various controls' IDs to see what their values are.

I'm sure once you've fixed this these errors will go away.

HTH
--
William
Software Engineer
ICQ No. 56047340
 
These control's id and its value are OK. Please, detail.
 
Hi,

Just add the following line in the .h file of the dialog.

#include "resource.h"

This should fix your problem.

Regards,
Sun
 
Thanks Sun!
Already, It has been solved. Thank your for your response.

Regards,
Haider
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top