Originally Posted by
manuell
I have "successfully" reproduced your problem, and fixed it:
1) change the name of the global HINSTANCE variable. (eg: g_hThisInstance)
2) add g_hThisInstance = hThisInstance; to your WinMain Function.
3) fix the name used in Information::GameInit
4) use hbmCross = LoadBitmap(g_hThisInstance, MAKEINTRESOURCE(ID_BMP_CROSS));
you mind posting the source that you modded to fix the problem??? i have my own problem like this but from what you said up above...it doesn't seem to work....
(i added in my code too....) (the resource file is just this....)
Code:
////////////////////////////////////////////////////////
// Icons
///////////////////////////////////////////////////////
IDI_ICON ICON DISCARDABLE "F:\\TankT_v2\\Tank2.ico"
///////////////////////////////////////////////////////
// Images
///////////////////////////////////////////////////////
IDI_BANNER BITMAP DISCARDABLE "F:\\TankT_v2\\banner.bmp"