Print Page | Close Window

CXTPCriticalSection::EnterCritical()

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=3996
Printed Date: 06 May 2024 at 11:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPCriticalSection::EnterCritical()
Posted By: tjohnson
Subject: CXTPCriticalSection::EnterCritical()
Date 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



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