我使用ADO链接SQL数据库如下
m_pConnection->Open("DSN=TestSQL","","",adModeUnknown);
结果捕获IDispatch #3149错误
同时出现下面两个警告
LINK : warning LNK4089: all references to "OLEPRO32.DLL" discarded by /OPT:REFe:\work\ado\adorwaccess\release\msado15.tlh(407) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
请问高手这是什么原因?
DSN配置正确,已经成功测试