Print Page | Close Window

Crash in ExitInstance

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=9125
Printed Date: 15 November 2024 at 7:37pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Crash in ExitInstance
Posted By: Synapse
Subject: Crash in ExitInstance
Date Posted: 17 December 2007 at 6:05am
Hi,
I use the SkinFramework to skin some dialog boxes in a dll. I load the skin in InitInstance. When the program exit, I have a crash in ExitInstance on the following instruction :
XTPSkinManager()->LoadSkin(NULL);


-------------
Codejock Xtrem Skin Framework 2007 11.1.3
Windows XP SP2



Replies:
Posted By: Oleg
Date Posted: 17 December 2007 at 1:24pm
Hi,
 
You have create skinframework in main application. Think SkinFramework skinned some controls from main app and you unload it before it.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Synapse
Date Posted: 18 December 2007 at 3:35am
I use SetAutoApplyNewWindows(FALSE) in initInstance and ApplyWindow(GetSafeWnd()) in the dialog boxes I want to skin.

-------------
Codejock Xtrem Skin Framework 2007 11.1.3
Windows XP SP2


Posted By: Synapse
Date Posted: 20 December 2007 at 6:17am
I've traced it in debug mode, it crashes in LoadSkin(NULL), when calling pApiHook->FinalizeHookManagement();

My dll is called by a Word addin. So I load it at the Word startup and I unload it (and call LoadSkin(NULL)) at the shut down.


-------------
Codejock Xtrem Skin Framework 2007 11.1.3
Windows XP SP2


Posted By: Oleg
Date Posted: 20 December 2007 at 12:32pm

Hi,

May be you can attach in issuetrack small prototype to show problem ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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