i wrote the following :
Code:
public class Actor : ENTITY
    {
        private static ENTITY m_actor = null;

        public Actor()
        {
            m_actor = new ENTITY();  //CRASH
            m_actor = (ENTITY)EngVar.player; //CRASH
            m_actor = (ENTITY)EngFun.ent_create(null, new Vector(0, 0, 0), null); //CRASH
        }
    }


and in my main method i called
Code:
Actor testactor = new Actor();



but this call didn't cause any crash, error or exception : /
Do you have another example where this crash happens ?

Last edited by Stromausfall; 08/11/09 19:09.

get the C# wrapper:
for A7.85.4 and A8.30.4, Version 2.3.9
at http://acknexwrapper2.matthias-auer.net/ or visit the thread