几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   数据库ObjectDBX (http://www.dimcax.com/hust/forumdisplay.php?f=177)
-   -   【转帖】arx 和 dao 数据库的连接 (http://www.dimcax.com/hust/showthread.php?t=8519)

yang686526 2009-04-19 06:02 PM

【转帖】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
请问如何解决。


所有的时间均为北京时间。 现在的时间是 12:31 AM.