![]() |
MDI child / XTP crash |
Post Reply
|
| Author | |
ABuenger
Newbie
Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Quote Reply
Topic: MDI child / XTP crashPosted: 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
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |