|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说 / v0 |* A/ \: s8 u/ d1 E
" S# Y! u% o9 ?+ _" v$ @5 }Caught exception while running: Entry_Hello_World
$ x( O$ W1 _: X+ p6 ]. l2 LSystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
8 w+ j. x8 e$ m2 Y+ S at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
6 Z7 O2 f; P: `/ ` at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)% A& S7 U a, ?1 t8 O1 N T. {0 R4 h* B
at Program.Entry_Hello_World(String Param)* X, Z7 y0 N! q/ D* x F7 Q8 N
( ^" o1 v3 N6 ^. Y! Y. N
我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!! |
|