InstantClient and Vista crash

Tommy_N

Member
I have copied instant client to c:\program files\\common\Oracle

and in the initialization of our ActiveX we're modifying the path environment variable to point to the folder where the instant client resides. We also set the OCIDLL variable. Most of the times when I launch the application everything works fine, but from time to time I get the following exception (this happens 1 out of 10 times):

---------------------------
Debugger Exception Notification
---------------------------
Project AxLoader.exe raised exception class EOracleError with message ''. Process stopped. Use Step or Run to continue.
---------------------------

Sometimes I don't even get an exception, the application just hangs.

Any idea what could be wrong?

Regards,
-Tommy
 
I'm not sure what could cause this. Note that the normal procedure to point to an instant client directory is to set the ORACLE_HOME environment variable. There is no need for PATH and OCIDLL modifications in that case.

Also note that if your ActiveX component is used in conjunction with other components that access Oracle, they must all use the same client.
 
Back
Top