OraCall.OCIDLL

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MarkF
Posts: 211
Joined: Thu 02 Mar 2006 14:55

OraCall.OCIDLL

Post by MarkF » Fri 27 Dec 2013 15:33

In the new 9.2.5 version this global variable has been removed. It looks like it has been moved into the OracleHomes list instead. I use this to allow the client to force the location of the Oracle Client that they want to use even if it's not in the system path or in the registry homes list (usually on machines with Oracle Instant Client installed but not in the system path.) What's the recommended way to do this now? I used to just set OraCall.OCIDLL := 'd:\OracleInstant32\oci.dll'; before any other initialization would take place. Thanks for any help.

-Mark

jfudickar
Posts: 202
Joined: Fri 10 Mar 2006 13:03
Location: Oberursel / Germany

Re: OraCall.OCIDLL

Post by jfudickar » Sun 29 Dec 2013 17:32

Same question to the variable OracleHomePath.

Also the Procdure InitOCI is now missing.

Regards
Jens

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: OraCall.OCIDLL

Post by AlexP » Mon 30 Dec 2013 11:53

Hello,

Now, to set client parameters manually, you should use the TOracleHomes class and the AddHome methods, for example:

Code: Select all

  OracleHomes.Default :=  OracleHomes.AddHome('D:\oracle\product\10.2.0\client_1\');

Post Reply