我写了一个将mysql数据库的内容导入Acces数据库的程序.
连接mysql成功且能读出记录的内容。但在向Access发送sql命令时出项异常,以下为其代码
CString ComTexttmp;
_bstr_t ComText;
ComTexttmp.Format("%s","INSERT INTO table()VALUES());
ComText=ComTexttmp.AllocSysString();
m_pRecordset=m_pConnection->Execute(ComText,NULL,adCmdText);
在执行m_pRecordset=m_pConnection->Execute(ComText,NULL,adCmdText)语句时,发生异常
还有在调试完后,调试窗口会出现以下类似的信息
Loaded 'C:\WINDOWS\SYSTEM\OLEAUT32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLE32.DLL', no matching symbolic information found.
诚心求教各位大虾帮助