Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - CXTPCriticalSection::EnterCritical()
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPCriticalSection::EnterCritical()

 Post Reply Post Reply
Author
Message
tjohnson View Drop Down
Newbie
Newbie
Avatar

Joined: 20 July 2005
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote tjohnson Quote  Post ReplyReply Direct Link To This Post Topic: CXTPCriticalSection::EnterCritical()
    Posted: 13 April 2006 at 2:15pm

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
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.171 seconds.