Page 1 of 1

Oracle 64-bit client and ODAC

Posted: Tue 23 Feb 2010 11:33
by waeberd
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

Posted: Thu 25 Feb 2010 10:57
by Challenger
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.

Posted: Mon 01 Mar 2010 10:07
by waeberd
Thank you for the clarification, it's probably wiser to avoid this DLL then...