- 积分
- 1865
- 明经币
- 个
- 注册时间
- 2002-12-4
- 在线时间
- 小时
- 威望
-
- 金钱
- 个
- 贡献
-
- 激情
-
|
我有LISP程序,GZPI.LSP其中有函数 c:myinit();
arx的代码如下:
CString fpath="\\egs\\plan\\reserves\\gzpi.lsp";
ads_command(RTSTR,"appload",RTSTR,fpath,0);
struct resbuf *result = NULL, *list;
list = acutBuildList(RTSTR, "c: MYINIT",/*RTXXX, param1...*/ RTNONE);
if (list != NULL) {
int stat = acedInvoke(list, &result);
acutRelRb(list);
}
if (result != NULL) {
acutRelRb(result);
}
但没有调用成功,请老师帮助!
 |
|