Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - [solved] Exception when closing dialog based app
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[solved] Exception when closing dialog based app

 Post Reply Post Reply
Author
Message
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (1) Thanks(1)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Topic: [solved] Exception when closing dialog based app
    Posted: 14 June 2016 at 4:22am
This dialog worked fine with XT P16.4 but crashes with XTP 17.2
in both cases i use VS 2013

First there is an ASSERT in wincore.cpp line 1065

ENSURE(pMap != NULL);


It looks like a Problem with CXTPFrameShadowManager:

Here is the stack:

     cuml13.dll!CWnd::DestroyWindow() Line 1065    C++
     cuml13.dll!CWnd::~CWnd() Line 823    C++
>    cuml13.dll!CXTPFrameShadowManager::CWtsEventListener::~CWtsEventListener() Line 180    C++
     cuml13.dll!CXTPFrameShadowManager::CWtsEventListener::`scalar deleting destructor'(unsigned int)    C++
     cuml13.dll!CXTPFrameShadowManager::~CXTPFrameShadowManager() Line 228    C++
     cuml13.dll!CXTPSingleton<CXTPFrameShadowManager>::Destroy(void * ptr) Line 102    C++
     cuml13.dll!CXTPSingletonPointer::~CXTPSingletonPointer() Line 50    C++
     cuml13.dll!`CXTPSingleton<CXTPFrameShadowManager>::InstancePointer'::`2'::`dynamic atexit destructor for 'instanceHolder''()    C++
     cuml13.dll!doexit(int code, int quick, int retcaller) Line 628    C
     cuml13.dll!_cexit() Line 448    C
...


Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 14 June 2016 at 5:07am
Could you please fix the problem or give me a workaround?
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 20 June 2016 at 6:31am
Hello Codejock-Team!

Can you please have a look at the code of the CXTPFrameShadowManager?

Please help!
Back to Top
astoyan View Drop Down
Admin Group
Admin Group
Avatar

Joined: 24 August 2013
Status: Offline
Points: 284
Post Options Post Options   Thanks (0) Thanks(0)   Quote astoyan Quote  Post ReplyReply Direct Link To This Post Posted: 05 September 2016 at 2:24am
The issue has been fixed. Please re-do you test once an update is out and let me know if anything doesn't work as expected.

Regards,
  Alexander
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2016 at 2:30am
Thank you for the feedback!
Can you post the code (change) or is it too complicated?

Regards,
Alex
Back to Top
Alex H. View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 February 2004
Status: Offline
Points: 266
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alex H. Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2016 at 9:55am
Can you post the necessary fix?
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.172 seconds.