I am having a real problem loading a string reasource. I started with CString::LoadString(id), but kept getting an assertion failure at the same place the the Bitmap problem below occurs. I changed to using LoadString(HINSTANCE, ... char*, etc), and that worked.
I then meved on and created an about Dialog box. I put a bitmap in and assigned it to a bitmap id in the resource file. But I get the same assertion error as previosly...
AfxGetResourceHandle() line 22 + 33 bytes
CDialog::DoModal() line 496 + 5 bytes
About::DoModal() line 47 + 8 bytes
WindowProc(HWND__ * 0x00000868, unsigned int 273, unsigned int 40001, long 0) line 144
Do i need to register the HINSTANCE I get passed in my WinMain(), if so, how? if not, what else is wrong?