急,急。高手请来解决ORACLE问题。

joanvon 2003-09-12 10:38:34
请看以下用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个人版。
...全文
23 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

4,011

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 数据库
社区管理员
  • 数据库
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧