Oracle 64-bit client and ODAC

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
waeberd
Posts: 22
Joined: Tue 09 Nov 2004 06:48

Oracle 64-bit client and ODAC

Post by waeberd » Tue 23 Feb 2010 11:33

Hi,

is there a way to detect from ODAC if the Oracle-Client is installed in a 64-bit or 32-bit version?

Background: we have a 32-bit Delphi service application typically running on the oracle-server connecting through OCI.

Now we had the problem that the Oracle-Client was 64-bit, the workaround was to use the OCIW32.DLL instead of the OCI.DLL.

We did this by copying and renaming OCIW32.DLL but I hope that there are cleaner ways to do this :-).

My wish would be that ODAC handles this problem (detect if a 64-bit client is installed, if yes, use OCIW32.DLL as the default DLL).

Would be very helpful! Any other suggestions?

Thanks a lot & keep up the great work!

Daniel

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 25 Feb 2010 10:57

We are not sure that this solution is correct. The OCIW32.DLL library is used for backward compatibility with Oracle Client 7.3 and earlier. So if you are using this library you are using the OCI 7.3 call style.

waeberd
Posts: 22
Joined: Tue 09 Nov 2004 06:48

Post by waeberd » Mon 01 Mar 2010 10:07

Thank you for the clarification, it's probably wiser to avoid this DLL then...

Post Reply