急,急。高手请来解决ORACLE问题。
请看以下用ADO连接ORACLE 7.2个人版的代码:
m_pConnection.CreateInstance(__uuidof(Connection));
try
{
m_pConnection->Open("Provider=MSDAORA;Data Source=orcl;User ID=system;Password=manager;","","",adModeUnknown);
}
catch (_com_error e)
{
AfxMessageBox("连接ORACLE失败!");
return FALSE;
}
上面的代码连接ORACLE 7.2出错。
出错信息如下:
Oracle Call Interface Error
Application c:\Ado1\debug\ado1.exe is attempting to call the OCI
function <opinit>
This function does not exist in ORA72.DLL.
Exit this application?
请问这是怎么回事?是不是连接出错,请大家注意我现在机子上装的是ORACLE 7.2个人版。