Ive been using this function fine, but all of a sudden it has stopped working for me, ....and only in Debug??? basically everything works fine in release mode, but when i do a debug build, i get the following error after the call to createdialog
@err,hr 0x00000714 The specified image file did not contain a resource section. unsigned long
im using the line - CreateDialog( mInstance, L"IDD_test", mhApp, MediaLoadingProc);
Heres what ive tested, but i still cant get it to work
1. Works fine in release, but not in debug, (above error, and no window created)
2. mInstance is valid, as windows are created directly before and directly after this call, and they work fine, (all calls in the same function)
3. Same as above with mhApp
4. Performed many rebuilds
5. Even started a new project and copied across all the .h and .cpp files, and created a new .rc file
Bookmarks