Erro: Access violation in module Oran8.dll

Pradeep

Member
Hi,

I am getting a DLL Exception in a multi threaded application. It occurs when it is connecting to the database(connected := true). Sample code used:

FDatabase := TOracleSession.Create(nil);
with FDatabase, dmMain do begin
LogonDatabase := AppParams.DBAlias;
LogonUserName := AppParams.UserId;
LogonPassword := AppParams.Password;
Connected := True;
end;

The error is as follows:

Error Message:
--------------
Project raised exception class EAccessViolation with message 'Access violation at address .... in module 'oran8.dll' Read of address ....'.
Process stopped.

Does any body have an idea of this error? Any help is appreciated.

Thanks

Pradeep.
 
Perhaps this is a Net8 issue. Can you try this on a different configuration? If not, and if you have multiple oracle home's, use the Oracle Home Selector (a standard Oracle utility) to select a different Primary Oracle Home.

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