I have just installed the 11g client on a server with the 8.1 and 9.2 clients already installed. This server is used to run scheduled console apps, many of which have not been recompiled for years. They now give:

Initialization error
Could not locate OCI dll

OracleHomeKey: SOFTWARE\ORACLE\KEY_OraOdac11g_home1
OracleHomeDir: C:\app\david.g.smith\product\11.1.0\client_1

I know I can recompile them, or pass OCIDLL="d:\oracle\ora92\bin\oci.dll" on the command line. Is there another option, something that doesn't require modifying each of these jobs?

Thanks.


David Smith