![]() |
Crash in ExitInstance |
Post Reply ![]() |
Author | |
Synapse ![]() Groupie ![]() Joined: 28 June 2007 Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Synapse ![]() Groupie ![]() Joined: 28 June 2007 Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Synapse ![]() Groupie ![]() Joined: 28 June 2007 Status: Offline Points: 22 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, May be you can attach in issuetrack small prototype to show problem ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |