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
Printed Date: 30 September 2022 at 9:40am
Software Version: Web Wiz Forums 12.04 -

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?

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

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.

Artem Gontarenko

Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 -
Copyright ©2001-2021 Web Wiz Ltd. -