Print Page | Close Window

Unhandled exception 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=7530
Printed Date: 03 May 2025 at 10:58am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Unhandled exception with CXTPSkinManagerApiHook
Posted By: MacW
Subject: Unhandled exception with CXTPSkinManagerApiHook
Date Posted: 05 July 2007 at 3:39am
Hi,

An application which uses the XTP CXTShellTreeCtrl class reproducible crashes with an unhandled exception

0xC015000F: The activation context being deactivated is not the most recently activated one.

when opening the Shell context menu on a folder in the tree, then selecting (for example) properties in the menu and closing the dialog with OK.
The crash happens inside the MFC, in
BOOL AFXAPI AfxDeactivateActCtx(DWORD dwFlags, ULONG_PTR ulCookie)

with the following call stack:

     ntdll.dll!7c9431a0()    
     [Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]   
     ntdll.dll!7c9431a0()    
     shell32.dll!7ca8fdd4()    
     shlwapi.dll!77f76f02()    
     kernel32.dll!7c80a69d()    
>    mfc80ud.dll!AfxDeactivateActCtx(unsigned long dwFlags=0, unsigned long ulCookie=337117186)  Line 245 + 0x17 bytes    C++
     mfc80ud.dll!AFX_MAINTAIN_STATE2::~AFX_MAINTAIN_STATE2()  Line 63 + 0xe bytes    C++
     ToolkitPro1110vc80UD.dll!CXTPSkinManagerApiHook::ThreadProcHook(void * lpThreadData=0x02912fd8)  Line 965 + 0x25 bytes    C++
     kernel32.dll!7c80b683()    
     ntdll.dll!7c919b3f()    
     ToolkitPro1110vc80UD.dll!CXTPControlToolbars::CreateToolbarMenu(CXTPCommandBar * pPopupBar=0x05040302, int nInsert=151521030, int nID=-989918454, int bAddCustomizeButton=1094912, int bBeginGroup=50528514)  Line 223 + 0x32 bytes    C++


What may be the reason? The application uses several worker threads, but only one user interface thread.




Replies:
Posted By: Oleg
Date Posted: 06 July 2007 at 8:48am
Hello,
 
I guess it was fixed already, please download 11.1.3 release.


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