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 » Debug Assertion Failed in CExtCmdProfile Collapse All
Subject Author Date
Jia Hong Li Aug 28, 2007 - 8:51 AM

4 error relative images and codes:

http://newtokyo.idv.tw/tmp/error1.jpg
http://newtokyo.idv.tw/tmp/error2.jpg
http://newtokyo.idv.tw/tmp/error3.jpg
http://newtokyo.idv.tw/tmp/error4.jpg

http://newtokyo.idv.tw/tmp/codes.txt

PS: I could compile by Unicode Release, but errors arised in Unicode Debug mode.

How could I fix this bug?
Thanks for help.

Jia Hong Li Aug 28, 2007 - 8:52 AM

PS: VS2005 + ProfUIS280

Suhai Gyorgy Aug 28, 2007 - 9:28 AM

The problem is that at least one of the commands in your g_statBasicCommands are not registered in the command manager. Usually, commands get registered through UpdateFromMenu or UpdateFromToolBar. So if one of those commands are not present in any menu or toolbar, then you need to register the command manually with CExtCmdManager::CmdSetup.