Subject | Problem with events (again)... |
---|---|
Author | joenyang |
Post date | 2003-07-24T15:20:42Z |
Hi All,
I am using FB1.5 RC4.
I created a database in IBConsole (without creating
any tables, just CREATE DATABASE...).
Then I tried the following code in Delphi and got an
"access violation in FBCLIENT.DLL..." error:
FIBDatabase1.Open;
FIBTransaction1.StartTransaction;
FIBEventAlerter1.RegisterEvents;
try
FIBQuery1.ExecQuery;
except
FIBQuery1.Close;
end;
ShowMessage('Hello');
FIBEventAlerter1.UnRegisterEvents;
FIBTransaction1.Rollback;
FIBDatabase1.Close;
FIBQuery1 contains "SELECT * FROM X" where X is
a non-existent table.
Error does not occur in FB102.
I am using FB1.5 RC4.
I created a database in IBConsole (without creating
any tables, just CREATE DATABASE...).
Then I tried the following code in Delphi and got an
"access violation in FBCLIENT.DLL..." error:
FIBDatabase1.Open;
FIBTransaction1.StartTransaction;
FIBEventAlerter1.RegisterEvents;
try
FIBQuery1.ExecQuery;
except
FIBQuery1.Close;
end;
ShowMessage('Hello');
FIBEventAlerter1.UnRegisterEvents;
FIBTransaction1.Rollback;
FIBDatabase1.Close;
FIBQuery1 contains "SELECT * FROM X" where X is
a non-existent table.
Error does not occur in FB102.