|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说 4 h, j8 H2 Q1 i* l9 J. |
' X0 N( S9 u2 d" f8 lCaught exception while running: Entry_Hello_World M1 N4 j4 S* H* @$ J
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt., R. Y& ^% |0 t ^+ e9 z
at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
; `; b+ b' o/ t! O1 B4 O- g4 U at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)3 S# j& {" [ i! `' s& D
at Program.Entry_Hello_World(String Param)
5 n7 g& [3 {7 l- s, X
' Q- t2 }3 m+ x- {3 |' z我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!! |
|