QQ登录

只需一步,快速开始

登录 | 注册 | 找回密码

三维网

 找回密码
 注册

QQ登录

只需一步,快速开始

展开

通知     

全站
7天前
查看: 2047|回复: 0
收起左侧

[讨论] 有人用过 MOM_run_user_function吗?

[复制链接]
发表于 2015-7-31 13:37:19 | 显示全部楼层 |阅读模式 来自: 中国陕西西安

马上注册,结识高手,享用更多资源,轻松玩转三维网社区。

您需要 登录 才可以下载或查看,没有帐号?注册

x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说 , P0 c0 g; W! L6 p4 B

2 o2 E! I6 L) t# `! S6 HCaught exception while running: Entry_Hello_World
( x4 P& n; T0 g8 s, y. V8 GSystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.; X: \/ }& u/ S* f7 i6 |( t& v
   at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
, y( C3 e) I( r9 o   at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
7 s5 s6 I* P9 z8 m/ P: u2 B   at Program.Entry_Hello_World(String Param)' g% C1 y. Q, f) j+ n
, Z' I. g6 T- H9 }! a$ m. R
我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!!
发表回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则


Licensed Copyright © 2016-2020 http://www.3dportal.cn/ All Rights Reserved 京 ICP备13008828号

小黑屋|手机版|Archiver|三维网 ( 京ICP备2023026364号-1 )

快速回复 返回顶部 返回列表