Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Crash when having two menubars in same window
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crash when having two menubars in same window

 Post Reply Post Reply
Author
Message
rune View Drop Down
Newbie
Newbie


Joined: 19 September 2010
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote rune Quote  Post ReplyReply Direct Link To This Post Topic: Crash when having two menubars in same window
    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]"
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.