I get the following errors as my application shuts down. Execution breaks on ::EnterCriticalSection(&m_csMutex) of void CXTPCriticalSection::EnterCritical().
First-chance exception at 0x7c90eddc in CheckUp.exe: 0xC00000FD: Stack overflow.
First-chance exception at 0x7c90eddc in CheckUp.exe: 0xC0000005: Access violation writing location 0x00030eec.
Unhandled exception at 0x7c90eddc in CheckUp.exe: 0xC0000005: Access violation writing location 0x00030eec.
The stack trace looks something like this and repeats the last two entries many times:
> ToolkitPro1010vc80UD.dll!CXTPCriticalSection::Ente rCritical() Line 136 + 0xc bytes C++ ToolkitPro1010vc80UD.dll!CXTPLockGuard::LockThre ad() Line 162 C++ ToolkitPro1010vc80UD.dll!CXTPLockGuard::CXTPLock Guard(CXTPCriticalSection & key={...}) Line 152 C++ 00031728() ToolkitPro1010vc80UD.dll!CXTPSkinFrameworkApiHoo k::GetProcAddressWindows(HINSTANCE__ * hModule=0x76bf0000, const char * pszProcName=0x01e96008) Line 147 + 0x10 bytes C++ ToolkitPro1010vc80UD.dll!CXTPSkinFrameworkApiHoo k::OnHookGetProcAddress(HINSTANCE__ * hmod=0x76bf0000, const char * pszProcName=0x01e96008) Line 864 + 0xd bytes C++
Any ideas what is causing this problem? The code worked fine until I added a single line in the application class to load a skin. This skin works fine with the framework in other applications.
XTPSkinManager()->LoadSkin(_T( "C:\\WINDOWS\\Resources\\Themes\\CoronaLaST\\Corona-Violet.m sstyles"));
------------- ~Travis
|