Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: OCI
OCI
Posted: 2006/01/17 14:52
 
Hi,
is OCI_components working on 10g Release 1 or 2 ?
best regards.
RE: OCI
Posted: 2006/01/18 12:38
 
Hi!

It works, but you have to modify OCI.pas to let it find Oracle Home in the registry. For me this worked:
// Oracle 10g
else begin
OpenKey('SoftwareOracle', False);
FOCIOracleHome:=GetRegPathVar(reg, 'ORACLE_HOME');
if FOCIOracleHome = '' then FOCIOracleHome:=GetRegPathVar(reg, 'ORA_CRS_HOME');
if FOCIOracleHome = '' then FOCIOracleHome:=GetRegPathVar(reg, 'VOBHOME2.0');
end;
// end Oracle 10g
if FOCIOracleHome = '' then
OCIDBError(msgOCINotInstalled, nil);
You see, inserting just befor the 'OCI not installed' error message. But you have to look in your registry (HKLMSoftwareOracle) what will work for you.

Regards,
Rüdiger