Original Post
I cant get this working... heres the code
MasterDepot
// From script1.rc . . . ///////////////////////////////////////////////////////////////////////////// // // 50 // IDR_501 50 DISCARDABLE "Overlay.tga" IDR_502 50 DISCARDABLE "titledefault.tga" IDR_503 50 DISCARDABLE "titlehover.tga" #endif // English (New Zealand) resources ///////////////////////////////////////////////////////////////////////////// . . . // Exact code in my .cpp HRSRC hRsrc = FindResource(0, "Overlay.tga", "50"); //HRSRC hRsrc = FindResource(0, "Overlay.tga", "#50"); // also tryed this if(hRsrc) MessageBox(0, "Working", 0,0);
MasterDepot