9i Client reverting to SQL*Net calls?

Sonique

Member²
Hi all,

Has anyone out there had any success using DOA 3.4.3 with the 9i Client? We've found that it reverts back to using the SQL*Net calls as it can not find about 1/2 of the Net8 calls. Still investigating .....
 
It was loading the wrong DLL due to a simple version check in OracleCI.pas in function FindOCIDLL:

if (tINfo.Version >= 8) and
(tInfo.Major >= 1) then
begin
OCIDLL := Path + 'oci.dll';
...
end;

When this was changed to

if ((tINfo.Version >= 8) and (tInfo.Major >= 1)) or (tINfo.Version >= 9) then
begin
OCIDLL := Path + 'oci.dll';
...
end;

the 8i functions are enabled (i.e. OCI80Detected = True and OCI81Detected= True)
and the problems that we have encountered so far have disappeared.
 
Back
Top