Print Page | Close Window

CXTPSkinManagerApiHook error

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=14900
Printed Date: 21 June 2025 at 8:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPSkinManagerApiHook error
Posted By: flyinblue
Subject: CXTPSkinManagerApiHook error
Date Posted: 04 August 2009 at 2:10am
Hi.
 
I use ribbon bar and docking panes.
and I use DirectX on MDI project of VS 2008.
 
when i close my program,
it takes abnormal termination.
 
when i debug, like this:
 
Please.. help me..



Replies:
Posted By: kyotocanuck
Date Posted: 07 September 2009 at 10:32pm
I came across the same thing today. It seems it occurs when hooking into other threads. Before you set the skin manager options, try setting the following and see if that helps:

XTPSkinManager()->SetAutoApplyNewThreads(FALSE);

You can also disable it specifically for the DirectX dlls too if you know their names by using:
XTPSkinManager()->ExcludeModule("MyDllName.dll");

Good luck. Hope it works for you.



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