GPF in XTPSkinManagerApiHook::HackModuleOnLoad
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=7766
Printed Date: 13 November 2025 at 11:56am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: GPF in XTPSkinManagerApiHook::HackModuleOnLoad
Posted By: MacW
Subject: GPF in XTPSkinManagerApiHook::HackModuleOnLoad
Date Posted: 09 August 2007 at 7:48am
I get a GPF in XTPSkinManagerApiHook::HackModuleOnLoad while calling a function via a function pointer retrieved from a DLL loaded via LoadLibrary.
This external plug-in is not linked with XTP, and has no reference. In my main application, I initialize XTP Skin Manager as follows:
XTPSkinManager()->EnableCurrentThread(); XTPSkinManager()->SetApplyOptions(xtpSkinApplyFrame | xtpSkinApplyColors | xtpSkinApplyMetrics); XTPSkinManager()->SetAutoApplyNewThreads(FALSE);
|
Since the XTP documentation does not contain anything about when and how to use these functions, I copied it from a sample application.
For example, the "documentation" for EnableCurrentThread says:
Call this method for each thread in multi threaded
application to enable skin framework for all threads
What does this mean?
|
Replies:
Posted By: Oleg
Date Posted: 10 August 2007 at 12:54am
|
Hello,
Please show call stack.
------------- Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS
|
Posted By: MacW
Date Posted: 11 August 2007 at 9:28am
Hi,
I think this was fixed already. I've downloaded the most recent XTP version, compiled everything new on my machine, and the crash does not show up anymore. I have seen the ESP warning a couple of times, but it does not crash anymore.
I'll try to keep the call stack for you when it happens the next time. Problem is that when this happens about 10 threads are active...
|
|