Whenever I include mydialog.h in more then one file I get:
C2057: expected constant expression
C2065: 'IDD_CLOUDS_DIALOG' : undeclared identifier
How can I fix this?
Whenever I include mydialog.h in more then one file I get:
C2057: expected constant expression
C2065: 'IDD_CLOUDS_DIALOG' : undeclared identifier
How can I fix this?
some code
You may need to #include your resource file before you #include your mydialog.h file, because thats probably where IDD_CLOUDS_DIALOG is defined.Originally posted by WiKiDJeFF
Whenever I include mydialog.h in more then one file I get:
C2057: expected constant expression
C2065: 'IDD_CLOUDS_DIALOG' : undeclared identifier
How can I fix this?
-Grunt (Malek)
ye that was the problem Malek, thx.