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

Unhandled exception with CXTPSkinManagerApiHook

 Post Reply Post Reply
Author
Message
MacW View Drop Down
Senior Member
Senior Member


Joined: 26 June 2007
Status: Offline
Points: 253
Post Options Post Options   Thanks (0) Thanks(0)   Quote MacW Quote  Post ReplyReply Direct Link To This Post Topic: Unhandled exception with CXTPSkinManagerApiHook
    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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 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
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.137 seconds.