|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说
$ a/ o; t5 z) D1 M" c4 S% q/ c4 A; ^+ G3 U, J% x) B6 f- P
Caught exception while running: Entry_Hello_World/ U( x, R; r4 d% w! m8 |" x
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
* s& f. f# n; \" }% Y3 F at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
+ |( @4 q4 w$ J' u; b' U* q at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)6 m2 }9 j3 X6 B/ _" q: t% f
at Program.Entry_Hello_World(String Param)+ }% y) y% K+ C! {
5 j, k# J- @ f5 i* P5 j; O! `我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!! |
|