how to specify the oracle client path?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ae1080
Posts: 2
Joined: Thu 21 Apr 2011 09:26

how to specify the oracle client path?

Post by ae1080 » Sun 13 Oct 2013 12:01

i'm testing unidac latest version with delphi xe5,is there any way to specify the oracle client path so that no need to install the client?. i know i can use direct mode so that no need for the client
thanks

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

Re: how to specify the oracle client path?

Post by AlexP » Mon 14 Oct 2013 10:03

Hello,

If you are using Instant Client, you should add an entry to the registry and the path to the PATH environmental variable. Also specify the name of the client in the property:

Code: Select all

  UniConnection1.SpecificOptions.Values['HomeName'] := 'HOME_NAME';
If you don't add an entry about the client to the registry and environmental variables (and no other clients are installed on the PC), then the Oracle library will be loaded either from the folder with the application or from the ..\Windows\system32 folder.

Post Reply