Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Strange Problem with CXTPSkinManagerApiHook
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Strange Problem with CXTPSkinManagerApiHook

 Post Reply Post Reply
Author
Message
gibbo View Drop Down
Groupie
Groupie
Avatar

Joined: 04 January 2007
Location: United Kingdom
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibbo Quote  Post ReplyReply Direct Link To This Post Topic: Strange Problem with CXTPSkinManagerApiHook
    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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gibbo View Drop Down
Groupie
Groupie
Avatar

Joined: 04 January 2007
Location: United Kingdom
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibbo Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.027 seconds.