koirat
29-02-2008 18:07:16
SimpleVehicle example:
Exception:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at NewtonCreateBody(NewtonWorld* , NewtonCollision* ) at MogreNewt.Body._ctor(World W, Collision col, Int32 bodytype, Boolean enableGravity) at MogreNewt.Body..ctor(World W, Collision col) at MogreNewt.Demo.SimpleVehicle.SimpleVehicleApp.CreateScene() in E:\OgreSDK\MogreNewton-Samples\SimpleVehicle\SimpleVehicleApp.cs:line 190 at Mogre.Demo.ExampleApplication.Example.Setup() in E:\OgreSDK\Mogre-Samples\ExampleApplication\Example.cs:line 85 at Mogre.Demo.ExampleApplication.Example.Go() in E:\OgreSDK\Mogre-Samples\ExampleApplication\Example.cs:line 51 at MogreNewt.Demo.SimpleVehicle.Program.Main(String[] args) in E:\OgreSDK\MogreNewton-Samples\SimpleVehicle\Program.cs:line 15
it's this line to be more specific:
Basic example is working without any problem.
I'm using Newton for windows 1.53 .
Exception:
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at NewtonCreateBody(NewtonWorld* , NewtonCollision* ) at MogreNewt.Body._ctor(World W, Collision col, Int32 bodytype, Boolean enableGravity) at MogreNewt.Body..ctor(World W, Collision col) at MogreNewt.Demo.SimpleVehicle.SimpleVehicleApp.CreateScene() in E:\OgreSDK\MogreNewton-Samples\SimpleVehicle\SimpleVehicleApp.cs:line 190 at Mogre.Demo.ExampleApplication.Example.Setup() in E:\OgreSDK\Mogre-Samples\ExampleApplication\Example.cs:line 85 at Mogre.Demo.ExampleApplication.Example.Go() in E:\OgreSDK\Mogre-Samples\ExampleApplication\Example.cs:line 51 at MogreNewt.Demo.SimpleVehicle.Program.Main(String[] args) in E:\OgreSDK\MogreNewton-Samples\SimpleVehicle\Program.cs:line 15
it's this line to be more specific:
MogreNewt.Body bod = new MogreNewt.Body(m_World, col);
Basic example is working without any problem.
I'm using Newton for windows 1.53 .