|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说
+ O# m j H; `! v. f' {# [5 A% j; ]) [$ _" t& w$ J1 L& {! b
Caught exception while running: Entry_Hello_World [. _) G' h( ]
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
1 C, k, Y" V8 N; t5 x5 c( P6 X) t at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)( l4 |2 q) T. Q# T
at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
, I- O f0 B7 z8 I5 n at Program.Entry_Hello_World(String Param)
Z2 n/ n, |6 V* f5 s& Y4 S2 b6 ^+ U; a' H& j
我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!! |
|