Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Debug Assertion Failed in TabbedView Example
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Debug Assertion Failed in TabbedView Example

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


Joined: 20 July 2014
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote KevinCho Quote  Post ReplyReply Direct Link To This Post Topic: Debug Assertion Failed in TabbedView Example
    Posted: 20 July 2014 at 11:16am
Hi, I've been testing TabbedView Example. Sometime Visual Studio detected "Debug assertion failed".

Following is the sequence generating Debug Assertion Failed.

Run TabbedView Sample.
    (New Window create by default.)

Click Open button in toolbar.
    (Select dummy file #1)

Click Open button in toolbar.
    (Select dummy file #2)

After that Close #1 Child window then Debug Assertion Failed occur.


Same problem also happen in my own project.

Click Retry Button, VS stopped at ~CXTPTabControl().
Screenshot is here




How can i fix it?

Back to Top
kstowell View Drop Down
Admin Group
Admin Group


Joined: 25 January 2003
Location: MIchigan, USA
Status: Offline
Points: 496
Post Options Post Options   Thanks (0) Thanks(0)   Quote kstowell Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2014 at 2:40pm
In CXTPTabControl::~CXTPTabControl() try changing delete m_pDropTarget to SAFE_DELETE(m_pDropTarget) and rebuild the library, let us know if this corrects the problem, thanks!
Kirk Stowell, President and CEO
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.250 seconds.