01-02-2008 18:16:50

Hi people,

I'm using MOGRE and it works nice. Only when I try to use overlay, I receive the following error:

An unhandled exception of type 'System.AccessViolationException' occurred in Mogre.dll

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

If I hide the overlay, this error doesn't happen. It happens only when I enable it. This error occour when I call mRoot.StartRendering().

Thanks a lot!

Jose Ricardo


01-02-2008 18:45:27

When you got an AccessViolationExpection then you are making something wrong.

Is a little hard to debug this kind of exceptions, be sure to use the debug .dll files of mogre and the .pdb files for debug.

Maybe in the stack call of visual studio you can find some information about where is the error.

Also, read the ogre.log and look for a exception in that file.