Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Crash in Debug mode - Reset Toolbar State Collapse All
Subject Author Date
Jay Humbard Jul 16, 2007 - 9:15 AM

Okay, when I do a Toolbar Reset (from the customize dialog), when the if( ::AfxMessageBox( strQst, nType ) != IDYES ) in BarResetAsk in extcustomize.cpp gets called, my app starts failing to load bitmaps from resources. I don’t know why.. ALL loadbitmps fail from that point forward. Any ideas?

Its only when the afxmessagebox gets shown that the loadbitmaps start to fail.

Jay

Jay Humbard Jul 16, 2007 - 9:17 AM

Note2: This works fine in Release build - it only fails in Debug build - just a bit disconcerting but I can live with it for now. Would just like to find the answer as to why, to make sure its not a sign of a bigger problem

ProfUIS is built in DLL mode, with DLL MFC, multithreaded.

Technical Support Jul 16, 2007 - 11:02 AM

Actually the code for loading bitmap resources and the code for the Customize dialog do not depend on each other. So it is hardly possible to figure out what is wrong without seeing your code. Would you send us a test project that demonstrates the problem?