Print Page | Close Window

Debug Assertion Failed in TabbedView Example

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=22365
Printed Date: 17 June 2025 at 1:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Debug Assertion Failed in TabbedView Example
Posted By: KevinCho
Subject: Debug Assertion Failed in TabbedView Example
Date 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?




Replies:
Posted By: kstowell
Date 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<



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