Reputation: 333
I am creating Class using MFC class wizard in VS 2008, Choosing Base class as CProperty Page, After finish wizard file created but i getting error in this line enum { IDD = IDD_APPLICATION };
Error : error C2065: 'IDD_APPLICATION ' : undeclared identifier
Upvotes: 2
Views: 9466
Reputation: 411
Perhaps you have to change MFC Mode to "true", you find that on the properties page of your .rc file. (This helped me)
Upvotes: 0
Reputation: 11925
As cpx asked, have you included resource.h into the header file of the new class?
More importantly, have you created a dialog resource in your resource file with the id IDD_APPLICATION?
Upvotes: 3