It took a few days to get around to it, but now I am using CEGUI 0.4.0 and CS and cel as of yesterday. I am still getting errors, and it looks like it is the logging that is causing it. Is there a logfile I should be setting? Or else where is it trying to log to by default if that is the issue.
 
Here is the Call Stack:
 
> msvcp71.dll!std::basic_stringbuf<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::_Tidy()  Line 291 C++
  msvcp71.dll!std::basic_stringbuf<char,std::char_traits<char>,std::allocator<char> >::str(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Newstr={...})  Line 77 C++
  CEGUIBase.dll!CEGUI::Logger::logEvent()  + 0x75 C++
  CEGUIBase.dll!CEGUI::SchemeManager::loadScheme()  + 0x70 C++
  promise.exe!AppPromise::Application()  Line 152 + 0x65 C++
  promise.exe!csApplicationFramework::Start()  Line 72 C++
  promise.exe!csApplicationFramework::Main(int argc=1, char * * argv=0x003952b0)  Line 124 + 0x7 C++
  promise.exe!csApplicationRunner<AppPromise>::Run(int argc=1, char * * argv=0x003952b0)  Line 433 + 0x10 C++
  promise.exe!main(int argc=1, char * * argv=0x003952b0)  Line 28 + 0xd C++
  promise.exe!mainCRTStartup()  Line 398 + 0x11 C
 
And the Disassembly:
 

void _Tidy()

{ // discard any allocated buffer and clear pointers

7C3AAFEF push esi

7C3AAFF0 mov esi,ecx

if (_Mystate & _Allocated)

7C3AAFF2 test byte ptr [esi+40h],1    <------------------------Break point is here!

7C3AAFF6 je std::basic_stringbuf<unsigned short,std::char_traits<unsigned short>,std::allocator<unsigned short> >::_Tidy+14h (7C3AB003h)

_Al.deallocate(_Mysb::eback(),

(_Mysb::pptr() != 0 ? _Mysb::epptr()

: _Mysb::egptr()) - _Mysb::eback());

7C3AAFF8 mov eax,dword ptr [esi+10h]

7C3AAFFB push dword ptr [eax]

7C3AAFFD call operator delete (7C3CD755h)

7C3AB002 pop ecx

 

 

Any ideas?

----- Original Message -----
Sent: Tuesday, December 13, 2005 3:29 PM
Subject: Re: [CsMain] CEGUI in a CEL app

I'll give it a try later tonight, thanks.
----- Original Message -----
From: Chris Case
Sent: Tuesday, December 13, 2005 3:10 PM
Subject: Re: [CsMain] CEGUI in a CEL app

Try updating CS/CEL. There was a bug fix for the CEGUI renderer that went in yesterday. My app was busted until I updated and got the fix... same situation as you. So, try that, and see. If not, then I would try what's been sugested already.

On 12/13/05, Vincent Knecht <[EMAIL PROTECTED]> wrote:
Le Mardi 13 Décembre 2005 21:38, David Hendrickson a écrit:
> OK, I'm building with MSVC.Net 2003 using CVS from 11/23/05. Here are the
> relevent snippets of the code I am using: #include "CEGUI.h"
>
[...]
> This code crashes unless I comment out the scheme loading. And I am using
> CEGUI 0.4.1. Anything else you would need?

iirc CEGUI is provided by cs-win32-libs package, and the supported CEGUI
version is 0.4.0. If you really overrided cs-win32-libs with CEGUI v 0.4.1,
you'll have to rebuild the CEGUI plugin, if at all possible, and better
rebuild CS as a whole (then CEL) to make sure it's pure and clean...


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]?subjectunsubscribe



--
Christopher S. Case
SUNY Fredonia
Computer Science / Computer Engineering
[EMAIL PROTECTED]
(716) 785 - 5553(Cellphone)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human. To forgive, divine.
To fix mistakes, now that's an Engineer."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to