Print Page | Close Window

Crash when having two menubars in same window

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17503
Printed Date: 27 November 2024 at 8:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash when having two menubars in same window
Posted By: rune
Subject: Crash when having two menubars in same window
Date Posted: 01 November 2010 at 6:30am
I have a windows that consist of one main window with a commandbar, and a tabbed interface with other forms docked in. If one of them uses a commandbard the whole program crashed when the windows is closed. The funny thing is that this only happens in 32 bit.

I know the command bar is affecting the crash, because it came when switching from and old menubarcontrol to commandbar.

My guess is that the commandbar closes, or does something to the other components on the form on form_unload, and when the tabbing component then closes something goes wrong.

Anyone that can help me here? Is it possible to turn of that the commandbar shutsdown or something like that?

Ran Visual Studio 2008 as debugger the callstack gives error with mfc42.dll and 
"[Frames below may be incorrect and/or missong, no symbols loaded for mfc42.dll]"



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net