smbrant
User
 Fresh Boarder
| Posts: 2 |   | Karma: 0 |
|
RE: Problem !!!
|
|
Posted: 2005/09/29 18:18 |
|
|
|
|
Noci looks at the registry to find where is the oci.dll. Perhaps the keys looked at are protected or wrong. Take a look at NCOci.pas and hard code the right place:
reg := TRegistry.Create; with reg do try RootKey := HKEY_LOCAL_MACHINE; InitBest; if TestBestHome('SoftwareOracle') then {$IFDEF OCI_D4} if OpenKeyReadOnly('SoftwareOracleAll_Homes') then begin {$ELSE} if OpenKey('SoftwareOracleAll_Homes', False) then begin {$ENDIF} s := ReadString('HOME_COUNTER'); if s = '' then n := 1 else n := StrToInt(s); for i := 0 to n - 1 do TestBestHome('SoftwareOracleHome' + IntToStr(i)); end;
//smbrant a fix to be seen later: FOCIOracleHome:= 'C:Oracleproduct10.1.0Client_3';
[]s
|
|