|
|
马上注册,结识高手,享用更多资源,轻松玩转三维网社区。
您需要 登录 才可以下载或查看,没有帐号?注册
x
最近我在写 .dll然后通过 MOM_run_user_function来运行,dll能被读取,但是运行总出错,说 ) Q# `) A K: s* f: Q( x' ~
& V5 y/ w" q* T! o
Caught exception while running: Entry_Hello_World) ]- f& y4 V# O; v: l& e/ y
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
/ D; V6 d1 v1 U$ C, {" _# R+ U at NXOpen.UF.UFMom._ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
4 R- J" {3 v: { `7 b at NXOpen.UF.UFMom.ExtendXlator(IntPtr mom_id, String command_name, CommandFunc c_func)
8 W ]' Z6 D# {" y/ r at Program.Entry_Hello_World(String Param)
3 z" {3 ?: U1 i D P5 @( s: U3 B( }6 |% m& [; H( C
我整个程序就写了个hello world。。不知道怎么就 read or write protected memory了!! |
|