Appliction crashed because of Xtreme
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=4634
Printed Date: 10 November 2025 at 8:26pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Appliction crashed because of Xtreme
Posted By: fmansoor
Subject: Appliction crashed because of Xtreme
Date Posted: 21 July 2006 at 9:45am
I have recently moved to Xtreme Toolkit Pro v10.1. Every thing seems to be working fine except that my applicant crashes in one scenario. When I terminate my application with PostMessage(WM_QUIT) my applicant crashes in "void CXTTabBase::OnPaint()" @ "GetPaintManager()->DrawTabCtrl(&memDC, this)" line. I think xtreme theme manager is working in its seperate thread when I was terminating my application. How can I tell xtreme to stop all its activities.
Note: Applicant was working fine with xtreme 4. sth version.
Faisal Mansoor This the stack trace after crash. > ToolkitPro1011vc71D.dll!CXTTabBase::OnPaint() Line 67 + 0x21 C++ ToolkitPro1011vc71D.dll!CXTMDIWndTabBase::OnPaint() Line 94 + 0x2e C++ mfc71d.dll!CWnd::OnWndMsg(unsigned int message=15, unsigned int wParam=0, long lParam=0, long * pResult=0x0012b00c) Line 2023 C++ ToolkitPro1011vc71D.dll!CXTMDIWndTab::OnWndMsg(unsigned int message=15, unsigned int wParam=0, long lParam=0, long * pResult=0x0012b00c) Line 178 + 0x72 C++ mfc71d.dll!CWnd::WindowProc(unsigned int message=15, unsigned int wParam=0, long lParam=0) Line 1745 + 0x1e C++ mfc71d.dll!AfxCallWndProc(CWnd * pWnd=0x023ce4e4, HWND__ * hWnd=0x00290a0a, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 241 + 0x1a C++ mfc71d.dll!AfxWndProc(HWND__ * hWnd=0x00290a0a, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 389 C++ mfc71d.dll!AfxWndProcBase(HWND__ * hWnd=0x00290a0a, unsigned int nMsg=15, unsigned int wParam=0, long lParam=0) Line 209 + 0x15 C++ USER32.DLL!77e3a3d0() USER32.DLL!77e14750() USER32.DLL!77e155b0() NTDLL.DLL!77f9ff57() USER32.DLL!77e146a0() USER32.DLL!77e1480f() USER32.DLL!77e2eec6() USER32.DLL!77e1a7ba() USER32.DLL!77e334f2() USER32.DLL!77e44184() USER32.DLL!77e340b0() NTDLL.DLL!77fa64f6() NTDLL.DLL!77fa64f6() NTDLL.DLL!77fa64f6() NTDLL.DLL!77f88ac2() NTDLL.DLL!77f88b43() NTDLL.DLL!77f88af8() NTDLL.DLL!77fcfec2() NTDLL.DLL!77f967ce() NTDLL.DLL!77f967f0() NTDLL.DLL!77fb721f() USER32.DLL!77e3444c() KERNEL32.DLL!7c599260() NTDLL.DLL!77f88fc2() NTDLL.DLL!77f83206() NTDLL.DLL!77f88d8a() NTDLL.DLL!77f88eea() NTDLL.DLL!77f88dd6() USER32.DLL!77e3393f() USER32.DLL!77e341d7() USER32.DLL!77e33370() msvcr71d.dll!__crtMessageBoxA(const char * lpText=0x0012b86c, const char * lpCaption=0x10268444, unsigned int uType=73746) Line 119 C msvcr71d.dll!CrtMessageWindow(int nRptType=2, const char * szFile=0x01dfee70, const char * szLine=0x0012c8b0, const char * szModule=0x00000000, const char * szUserMessage=0x0012c8d0) Line 617 + 0x16 C msvcr71d.dll!_CrtDbgReport(int nRptType=2, const char * szFile=0x01dfee70, int nLine=317, const char * szModule=0x00000000, const char * szFormat=0x00000000, ...) Line 516 + 0x4c C mfc71d.dll!AfxAssertFailedLine(const char * lpszFileName=0x01dfee70, int nLine=317) Line 28 + 0x14 C++ ToolkitPro1011vc71D.dll!CXTThemeManager::~CXTThemeManager() Line 317 + 0x1d C++ ToolkitPro1011vc71D.dll!CXTThemeManager::`vector deleting destructor'() + 0x69 C++ mfc71d.dll!CProcessLocalObject::~CProcessLocalObject() Line 472 + 0x26 C++ ToolkitPro1011vc71D.dll!CProcessLocal<CXTThemeManager>::~CProcessLocal<CXTThemeManager>() + 0x2b C++ ToolkitPro1011vc71D.dll!$E2() + 0x28 C++ ToolkitPro1011vc71D.dll!_CRT_INIT(void * hDllHandle=0x01480000, unsigned long dwReason=0, void * lpreserved=0x00000001) Line 234 C ToolkitPro1011vc71D.dll!_DllMainCRTStartup(void * hDllHandle=0x01480000, unsigned long dwReason=0, void * lpreserved=0x00000001) Line 288 + 0x11 C NTDLL.DLL!77f830e7() NTDLL.DLL!77f8ee02() KERNEL32.DLL!7c5969c3() NTDLL.DLL!77f843a3() KERNEL32.DLL!7c57824c() KERNEL32.DLL!7c590bc3() NTDLL.DLL!77f8355e() KERNEL32.DLL!7c590c5a() msvcr71d.dll!__crtExitProcess(int status=0) Line 464 C msvcr71d.dll!doexit(int code=0, int quick=0, int retcaller=0) Line 414 + 0x9 C msvcr71d.dll!exit(int code=0) Line 303 + 0xd C MarsRiskD.exe!WinMainCRTStartup() Line 406 C KERNEL32.DLL!7c59893d()
|
Replies:
Posted By: Oleg
Date Posted: 21 July 2006 at 2:49pm
|
Hello,
try call UnInstall in OnDestroy handler of MainFrame (before you call base method)
------------- Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS
|
|