Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: NOE3/Init Error when loading OCI.dll
NOE3/Init Error when loading OCI.dll
Posted: 2000/09/14 08:52
 
PROBLEM:
I have installed the OCI Comonents on a machine where I had previously installed an Oracle 7 Client. When I installed the Oracle 8 Client I could not install it in the same directory i.e. ORANT. So I made a new Oracle Home i.e. ORA8NT.
Problem is that the OCI.dll resides in the ORA8NT directory where it cannot be found.
The entries in my registry look like this:
[HKEY_LOCAL_MACHINESOFTWAREORACLEHOME1]
"ID"="1"
"ORACLE_GROUP_NAME"="Oracle - ORA81"
"ORACLE_HOME_NAME"="ORA81"
"ORACLE_HOME"="E:ORA8NT"
"NLS_LANG"="GERMAN_GERMANY.WE8ISO8859P1"
"ORACLE_HOME_KEY"="SoftwareORACLEHOME1"
"SQLPATH"="E:ORA8NTdbs"


QUESTION:
Can I make an entry in the registry to force the OCI components to find the OCI.dll in the right directory?
RE: NOE3/Init Error when loading OCI.dll
Posted: 2000/09/15 09:04
 
Hi!
Figured it out myself.
I uninstalled the Oracle 8 client, removed *all* Oracle Directories, and removed the Oracle Entries in the registry. reboot and reinstall the Oracle 8 Clientsoftware afterwards it works.
it seems that it does not work with multiple Oracle Homes, when the HOME0 is a version prior to Oracle 8.
RE: NOE3/Init Error when loading OCI.dll
Posted: 2000/09/15 11:09
 
Take a look at
HTLMOracleOracle_Home.
If it doesn't help look through the source of NCOCI8 component, and trace what registry key it uses. It helped me mounth ago.
RE: NOE3/Init Error when loading OCI.dll
Posted: 2000/09/20 18:34
 
Hi !

1) Your default Oracle home must be of version 8. Default home, is home, whos BIN directory goes first in PATH environment variable. To switch default homes, use "Home selector" utility.

2) NCOCI8 allways uses software from default oracle home. If you want to force NCOCI8 to use different client library from default oracle home, you should use ORAOCI registry value. It should be placed in registry key of default oracle home.

uff ... I think it explains a NCOCI8 behavior. May be it is complex, but it is recomended by Oracle. Also, i plan to make ability to select oracle home.