m_pConnection.CreateInstance(__uuidof(Connection));
try
{
UpdateData(true);
m_pConnection->Open("Provider=MSDAORA;Persist Security Info=FALSE;Data Source=(_bstr_t)m_DataSource",(_bstr_t)m_UserID,(_bstr_t)m_UserPwd,adModeUnknown);
AfxMessageBox("ok");
}
catch(_com_error *e)
{
AfxMessageBox(e->ErrorMessage());
}
catch(...)
{
AfxMessageBox("error");
}这样怎么连接不上oracle数据库,请指教!