Print Page | Close Window

Skin Framework crash

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=20340
Printed Date: 24 November 2024 at 6:37am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Skin Framework crash
Posted By: sodind
Subject: Skin Framework crash
Date Posted: 27 November 2012 at 4:07pm
I'm using XTPSkinManager in a COM dll that is used by MS Word.

When this application (MS Word) is closing it crash.

If I call 
CXTPSkinManagerApiHook* pApiHook = CXTPSkinManagerApiHook::GetInstance();

  if(pApiHook != NULL)
  {
  pApiHook->FinalizeHookManagement();
  }
in OnDestroy for all Dialogs, the application closes without crash.

But I need set and delete Skin in one place only - in dllmain.cpp (InitInstance and ExitInstance) 

Any help is appreciated.



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