查看单个帖子
旧 2009-04-19, 07:50 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 arx 和 dao 数据库的连接

arx 和 dao 数据库的连接
www.dimcax.com
arx 和 dao 数据库的连接
请教各位高手:
在开发autocad的arx(r14和r0)程序时,请问如何使用dao数据库,在vc中如何添加编译选项或设置编译开关
本人已经使用#include ,并且在project setting中的【general】选项卡中microsoft fountion classes
设置了[use mfc in a static libary],而且也连接了dao35.lib,但是在编译release版本时,总是给出如下的错误信息:
link : warning lnk4089: all references to "advapi32.dll" discarded by /opt:ref
link : warning lnk4089: all references to "shell32.dll" discarded by /opt:ref
link : warning lnk4089: all references to "comdlg32.dll" discarded by /opt:ref
在编译debug版本时,虽说可以编译成功,但不能在autocad中加载,弹出如下的对话框:
fatal error: unhandled access violation exception at a9329edh
请问如何解决。
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)