Page 1 of 1

Cant connect ODAC to client Oracle 64x

Posted: Fri 22 May 2015 21:19
by rcedano
Hi,

Recently migrate to XE5, I have some problems toconnect to ORACLE 11g (x64 bits), in my developer have the component s: TOraSession, TOraQuery and TOraProvider, and the configuration of my project are the next:

SO: Windows 7 64 bits
Oracle DB : Oracle 11g;
Oracle Client 64 bits.
Delphi XE5 target 64Bit.
ODAC v.19 for XE5

The main problem is with the component TOraSession in the parameter “HOME”, I can’t load my client of Oracle in 64 bits(OraClient_Home1), anyone know if I can connect to the client in 64-bit and how connect through client?

Regards

Re: Cant connect ODAC to client Oracle 64x

Posted: Mon 25 May 2015 07:39
by AlexP
Hello,

Delphi is a 32-bit application, therefore, when running a project from Delphi, you can use only 32-bit libraries; if you run your application from an *.Exe file, ODAC will correctly load the 64-bit oci.dll. If you are going to connect to Oracle in design-time from Delphi, you should also install a 32-bit Oracle client.

Re: Cant connect ODAC to client Oracle 64x

Posted: Mon 25 May 2015 21:45
by rcedano
Hi AlexP,

Thank You for help me to resolve the issue, I changed the target to 64 bits and compiled with a client 32 bits, when I installed the application in the server with client 64 bit this is working good, now I have problems with the midas.dll, do you know something above this issue??

Regards

Re: Cant connect ODAC to client Oracle 64x

Posted: Tue 26 May 2015 07:19
by AlexP
Please describe in more details the problems occurred when using midas.dll.