Vinod Handigudmath

Vinod Handigudmath

  • 1.9k
  • 45
  • 16.4k

Attempted to read or write protected memory

Feb 25 2013 3:37 AM
Hi Everyone,

I have got a project in which I need to create 3D meshes and embed them in the windows forms.

To achieve this, I am using,
 1. c#.net 4.0, Windows forms.
 2. Autodesk Maya -- to create 3D meshes
 3. Deep expression -- To convert the 3D meshes to .x format
 4 . True vision 3D -- API.

Now as soon as I create a mesh in c# as below,

Room = (

I am getting the error,

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

Please help me to sort out this.

TVMeshClass)TVScene.CreateMeshBuilder("XYZ");