Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - MDI child / XTP crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI child / XTP crash

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: MDI child / XTP crash
    Posted: 23 June 2006 at 11:01am
I have a MDI child frame which is derived from CXTPFrameWndBase<CMDIChildWnd>.
 
As a member of my frame class I have a CXTPControlComboBox.
 
In OnCreate I add a toolbar to my commandbars (pCommandBars->Add) and then load the toolbar from a resource (pToolBar->LoadToolBar).
 
On the toolbar I have a placeholder for the combobox and in OnCreateControl I call lpCreateControl->pControl = &m_combobox.
 
This worked fine with 10.1 but now with 10.2 the application crashes somewhere in m_pCommandBars->InternalRelease.
 
If I create the combobox with new CXTPControlComboBox everything works fine. There is no memory leak when I close the application so I assume that you delete all objects the commandbars points to now.
 
Also the scrollbar bug I've reported 2 month ago isn't fixed in 10.2:
 
 
Codejock support
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.063 seconds.