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.
Subject |
Author |
Date |
|
George Ross
|
Mar 15, 2006 - 10:43 PM
|
Hi
i had an ASSERTION Problem on CExtControlBar::ProfileBarStateLoad. Finally i found the problem. While the program is inside the CMainFrame::OnCreate if you have any ON_UPDATE_COMMAND_UI(...) they called.If inside it you call any function that checks windows especially if you call any GetRuntimeClass, you get the ASSERTION. I finally put a BOOL variable _isInsideOnCreate which goes FALSE on exit from OnCreate that controls all the ON_UPDATE_COMMAND_UI.
regards
George
|
|
Technical Support
|
Mar 16, 2006 - 8:39 AM
|
Please let us know whether it is possible to reproduce this assertion problem with any of our samples.
|
|