Print Page | Close Window

Tear off window causes crash on exit

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=24309
Printed Date: 30 September 2022 at 9:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tear off window causes crash on exit
Posted By: rconn
Subject: Tear off window causes crash on exit
Date Posted: 24 July 2022 at 4:12pm
Using Toolkit Pro 20.3, Visual Studio 2022, Windows 11.

When I enable tear off windows, tear one off, and then close the main client window the app will crash in CXTPTearOffFrame::DestroyWindow(). A bad pointer is returned from:

    CXTPTabClientWnd* pPrevTab = (CXTPTabClientWnd*)m_wndTabClient.m_lstPrevTab.GetHead();

If I close the tear off window first, then close the main client window I don't get the crash.

Anybody else seen this?  Is there a workaround?




Replies:
Posted By: agontarenko
Date Posted: 28 July 2022 at 4:11am
Hello,

Unfortunately it is not clear what exactly is going wrong.
If it cannot be re-produced in any of our sample applications provided I would appreciate you sending a small code snippet or ideally a sample application so that we could debug it.

Regards,
Artem Gontarenko



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