|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说
( w& j" w! Y1 {) a! ^& @! K
' p8 f6 {$ T6 P- d6 ^& D N oCaught exception while running: Entry_Hello_World9 _$ @1 j( k& B3 \
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.- l0 t" O+ }) g( r5 f& U1 D& Q2 Q
at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)( v( D8 r% R! e. n) Q& |
at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
- v) I: S! o8 F; ?& j% C: e at Program.Entry_Hello_World(String Param)
2 X/ z0 U7 n! g# C7 u( J
9 N) I8 ]' o# Q% i& E, V我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!! |
|