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);