Runtime Check #0


04-04-2011 14:23:15

I'm getting the following ... Assertion / Exception i'm not exactly sure

Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

When I run OgreOggSound, but only very intermittantly. it breaks onto this line of code in ogreoggsoundmanager.cpp line 656
sound = static_cast<OgreOggISound*>(scnMgr->createMovableObject( name, OgreOggSoundFactory::FACTORY_TYPE_NAME, &params ));

I'm using OgreOggSound as a .dll and i'm not sure what to do? I'm not even sure I understand what the problem is.


04-04-2011 23:55:05

Ensure OgreOggSound and any other libraries are compiled against the same version of OGRE, what libs and version of OGRE are you using?