Print Page | Close Window

Crashing app when exiting

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=3753
Printed Date: 12 December 2024 at 5:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crashing app when exiting
Posted By: User
Subject: Crashing app when exiting
Date Posted: 09 March 2006 at 11:41pm
Our application is crashing every time when we are exiting application.
Attached zip file contains:
1.MyDockingDesktop project source code this is a layout of my application only with panes, but not real data.
2.Debug Assertion Failed.doc with screen captures of application and crash.

Could you tell me, please is it something we are not doing correctly in this case how we can do this correctly or Xtream ToolkitPro does not support this layout?

Thank you
uploads/User/2006-03-09_234045_Send.zip - 2006-03-09_234045_Send.zip



Replies:
Posted By: Oleg
Date Posted: 10 March 2006 at 10:03am

CFrameWnd derived classes must be created only dynamically.

 

So instead of

CFrameWnd m_MyDataFrame2;

CFrameWnd m_MyDataFrame3;

 

etc

 

use

CFrameWnd* m_MyDataFrame2;

+ m_MyDataFrame2 = new CFrameWnd

 

CFrameWnd* m_MyDataFrame2;

+ m_MyDataFrame2 = new CFrameWnd

etc



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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