Program crashes whenever I try to initialize NxOgre.

MetatronEX

05-02-2007 18:20:13

Hi, my application keep crashing when ever it calls my Setup_nxOgre() function.

I put a breakpoint on the line:

mWorld = new nxOgre::world(mRoot);

and immediate after that line I will get the following message

Unhandled exception at 0x108bc0d9 (OgreMain_d.dll) in NINE_FRAMEWORK.exe: 0xC0000005: Access violation reading location 0x0001f48c.

Does anyone know what's wrong? The program keeps complaining bad pointer.

betajaen

05-02-2007 18:28:56

Usually most of the time if world is crashing on the constructor then the System Software isn't installed.

MetatronEX

05-02-2007 18:43:41

I have the system software running because I have the Ageia icon in my system tray.

I have zip up my codes here, I hope some one can identify my mistakes:

http://download.yousendit.com/51AF2A3F2A6D021E

Pardon the messy structure, the lack of comments and stuff. I have been trying to rush this set of codes since they are due in a very short period of time.