|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说 & w3 l# i' T1 P6 d: [. p0 _
) `/ {3 I# C/ ~- n+ y/ _
Caught exception while running: Entry_Hello_World
2 _1 y9 G k$ y z! ISystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
) b) f |0 f' d9 E) n at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
0 l4 X& t/ W5 J5 Y2 Z" x, z at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
, j3 Z- \6 u' V& k4 v4 L at Program.Entry_Hello_World(String Param)8 x# D7 _) y; M3 h. n# L" W$ o
. j$ X; A0 Y' S% j; C我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!! |
|