|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说 , |2 {( l, @7 g/ [
% N0 G& U7 M% f% z5 u4 ^2 BCaught exception while running: Entry_Hello_World
. r7 A; [; G. \% l) w. s+ jSystem.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
8 n5 p1 }- f/ w' H: s& s at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)% A+ H. C0 ?* V3 t& p; i
at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
1 e `% _/ R0 n' J' `: u f, J- L at Program.Entry_Hello_World(String Param)
' N9 g1 Y& C/ d; j
: X: J" N+ ~& A我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!! |
|