This discussion is archived
2 Replies Latest reply: Sep 4, 2012 4:49 AM by 943944 RSS

Connect on Oracle 11g Xe with ADODB c++ and VS2010 (compiled in 64)

943944 Newbie
Currently Being Moderated
Hello everybody,

I develop an application in C++ and ADODB to connect at Oracle 11g XE. I use this connection string : *"Provider=OraOLEDB.Oracle;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=MyHost)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=XE)));User Id=MyUserId;Password=MyPwd*;";*


when I compiled in win32, it's run successfuly but in x64 i catch exception : Can not find the provider. It may not be installed.
At this line

hr=m_pConnection->Open(strCs.AllocSysString(),"","",adConnectUnspecified);

someone have an idea ? Thanks for you answer.

Edited by: user13819505 on 3 sept. 2012 06:31

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points