I am getting ClassWizard startup error for my class in MSVC 2013.
---------------------------
Microsoft Visual Studio
---------------------------
Failed to retrieve controls of dialog 'XYZ'.
---------------------------
OK
---------------------------
Then it opens but dialog controls and message handlers are not recognized.
The dialog uses all standard MFC controls.
All resource id values in resource.h are unique.
I tried to put marks like //{{AFX_DATA
, {{AFX_MSG
, etc. where appropriate. No effect.
I tried to generate a new class for the same dialog id. ClassWizard gives the same message while starting on the new class.
It seems like there is something it doesn't like in my project or resource files.
Any ideas? Is there a way to diagnose this thing? Thank you.
This is possible if you are having the resources in a separate project while the associated classes (source code) are in different project.