Im using this function in my code to create dialog boxes, yet they only showup when i do a release build, in debug mode they dont show, and i get :-
@err,hr 0x00000714 The specified image file did not contain a resource section. unsigned long
any ideas why they would only be working in release? is there something i should be looking for in the project settings?
mhMediaLoadingDLG = CreateDialog( mInstance, L"test", mhApp, MediaLoadingProc);
INT_PTR CALLBACK MediaLoadingProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
return 0;
}