Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Crashing app when exiting
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Crashing app when exiting

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


Joined: 09 March 2006
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote User Quote  Post ReplyReply Direct Link To This Post Topic: Crashing app when exiting
    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
2006-03-09_234045_Send.zip
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.156 seconds.