tedd
小水手

UID 29753
精华
0
积分 2
帖子 2
阅读权限 10
注册 2007-3-9
状态 离线
|
vc 用ADO智能指针访问数据库
个位高手:
我在用ADO的职能指针时如:_ConnectionPtr, 在创建接口实例:_ConnectionPtr MyDb的时候总是提示:_ConnectionPtr 未定义 , MyDb 未定义,不知道是什么问题,请各位高手指点,谢谢!
下面的语句我都加入了:
1#include "comdef.h"
2#import "c:\program files\common files\system\ado\msado15.dll"
no_namespaces rename("EOF" adoEOF")
|
|