小弟使用的是oracle 9i
为什么执行下面代码出错:
 try
 {
 CString strConnect;
 strConnect.Format("Provider=OraOLEDB.oracle.1;Password=%s;UserID=%s;"
 "Data Source=%s;Persist Security Info=True",strPwd,strUser,strSource);     m_pConnection->Open((_bstr_t)strConnect,"","" ,-1); }
 catch (_com_error  e)
 {
 AfxMessageBox(e.ErrorMessage());
 }
运行时对话框提示:
    未指定的错误。
糊涂死我了