Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Skin Framework crash
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skin Framework crash

 Post Reply Post Reply
Author
Message
sodind View Drop Down
Groupie
Groupie


Joined: 16 March 2011
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote sodind Quote  Post ReplyReply Direct Link To This Post Topic: Skin Framework crash
    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.
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.157 seconds.