Print Page | Close Window

Strange Problem with CXTPSkinManagerApiHook

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=7026
Printed Date: 12 November 2025 at 5:46pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Strange Problem with CXTPSkinManagerApiHook
Posted By: gibbo
Subject: Strange Problem with CXTPSkinManagerApiHook
Date Posted: 02 May 2007 at 6:36am
Hi,
I'm using the Xtreme ToolkitPro v10.4.2, running on Windows XP.
 
I'm using the same bit of code in a standard MFC Application and also an MFC OCX.  Both the Application and OCX are using an MDI Document View.
The MFC Application is working correctly .   But the OCX is causing random problems and when testing in using the VC6 IDE the OCX stops with an Unhandled exception in iexplore.exe(USER32.DLL): 0xC0000005: Access Violation.  Here is the content of the call stack window :
 
USER32! 7e446a71()
USER32! 7e43f12a()
USER32! 7e44f76c()
CXTPSkinManagerApiHook::OnHookDefMDIChildProcA(HWND__ * 0x00230ef0, unsigned int 5, unsigned int 2, long 31720421) line 853 + 21 bytes
CMDIChildWnd::DefWindowProcA(unsigned int 5, unsigned int 2, long 31720421) line 440
CWnd::Default() line 258
CWnd::OnSize(unsigned int 2, unsigned int 2, unsigned int 2) line 374 + 15 bytes
CFrameWnd::OnSize(unsigned int 2, int 997, int 484) line 2040
CMDIChildWnd::OnSize(unsigned int 2, int 997, int 484) line 643
CChildFrame::OnSize(unsigned int 2, int 997, int 484) line 279
 
I've also tried this with the TestContainer, which resulted in the same problem
 
Any ideas?
 
Thanks


-------------
Gibbo



Replies:
Posted By: Oleg
Date Posted: 02 May 2007 at 9:09am
Hello,
 
Think its one of the problems that was fixed in 11.1. Can you please download evaluation 11.1 and check if it will work for you?


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


Posted By: gibbo
Date Posted: 02 May 2007 at 12:02pm
Hi Oleg,
Firstly thanks for getting back to me..
 
I've upgraded from 10.4.2 to 11.1 and recompiled both the application and OCX.
 
Unfortunately, I'm still getting the same problem..
Here is the call stack again:
 
USER32! 7e446a71()
USER32! 7e43f12a()
USER32! 7e44f76c()
CXTPSkinManagerApiHook::OnHookDefMDIChildProcA(HWND__ * 0x00051dd0, unsigned int 5, unsigned int 2, long 31720421) line 925 + 21 bytes
CMDIChildWnd::DefWindowProcA(unsigned int 5, unsigned int 2, long 31720421) line 440
CWnd::Default() line 258
CWnd::OnSize(unsigned int 2, unsigned int 2, unsigned int 2) line 374 + 15 bytes
CFrameWnd::OnSize(unsigned int 2, int 997, int 484) line 2040
CMDIChildWnd::OnSize(unsigned int 2, int 997, int 484) line 643
CChildFrame::OnSize(unsigned int 2, int 997, int 484) line 279
CWnd::OnWndMsg(unsigned int 5, unsigned int 2, long 31720421, long * 0x0225c8b0) line 1856
CWnd::WindowProc(unsigned int 5, unsigned int 2, long 31720421) line 1596 + 30 bytes
Any ideas?
 
Thanks


-------------
Gibbo


Posted By: Oleg
Date Posted: 02 May 2007 at 12:33pm

Hi,

May be you can send some project to support to test it? Difficult to say without code :(
 


-------------
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