Hi
I have an ActiveX application that connects to oracle. If I in my java host-application open and close the ActiveX a couple of times the whole thing crashes with a runtime error 217 or 216.
I've made a minimal app to demonstrate the problem. It runs the following code (and only this code) in it's create procedure.
I use 10.2 instant client (also tested with 11)
Do you have any idea what causes this?
Cheers,
drd
I have an ActiveX application that connects to oracle. If I in my java host-application open and close the ActiveX a couple of times the whole thing crashes with a runtime error 217 or 216.
I've made a minimal app to demonstrate the problem. It runs the following code (and only this code) in it's create procedure.
Code:
MySession := TOracleSession.Create(nil);
try
try
MySession.LogonDatabase := 'mydb';
MySession.LogonUsername := 'foo';
MySession.LogonPassword := 'bar';
MySession.LogOn;
except
On E: Exception do
showmessage(E.Message);
end;
finally
MySession.Free;
end;
Do you have any idea what causes this?
Cheers,
drd