Using DOA in isapi dll

poli

Member
Hello world....

I have this kind of problem:
when I try to connect my TOracleSession from an isapi application ( dll ) I get this exception:

Initialization error
Could not load "D:\ORANT\bin\ORA73.DLL"

OracleHomeKey: SOFTWARE\ORACLE\HOME0
OracleHomeDir: D:\ORANT
Found: ORA73.DLL
Using: D:\ORANT\bin\ORA73.DLL
LoadLibrary(D:\ORANT\bin\ORA73.DLL) returned 0

instead compiling the same application as cgi exe it works fine.

Someone can help me?
Thanks Franco
 
Could it be that the ISAPI DLL has a different environment than the CGI program? I'm primarily thinking about the PATH. What happens here is that the following call is made:

HDLL := LoadLibrary('D:\ORANT\bin\ORA73.DLL');

In the ISAPI DLL this call returns 0, instead of a valid handle. In the CGI program it works okay.

------------------
Marco Kalter
Allround Automations
 
Back
Top