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.
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.