OCI Version

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: OCI Version

Post by AlexP » Wed 21 Nov 2012 11:26

Hello,

We have no methods for retrieving the path to the oci.dll file. Loading of the oci.dll is performed by a WIN API method which itself searches for the required libraries if the path to it is not specified explicitly. You can also use a WIN API method SearchPath to obtain the path to the oci.dll library.

Code: Select all

var
  p1, p2: PAnsiChar;
begin
  SearchPath(nil, PAnsiChar('oci'),PAnsiChar('.dll'),255,p1,p2);
  ShowMessage(p1);

Post Reply