Linux Mint 17.2 KDE
Lazarus 1.5 trunk
FPC 3.0rc2
Zeos components 7.3 testing
Firebird SuperServer 2.5.5
I created a simple test project
procedure TForm1.FormCreate(Sender: TObject);
begin
FbConnection.Connect();
with FbEventAlerter do
begin
Connection:= FbConnection;
Events.Add('LOGGER');
Registered:= true;
end;
end;
As soon the event should be registered the component raises an exception
The exception is raised in ZIPEventAlerter.pas when calling the TIBEventThread base constructor. TIBEventThread is directly derived from class TThread.
{$WARNINGS OFF}
constructor TIBEventThread.Create(Owner: TZIBEventAlerter; EventGrp: integer; TermEvent: TNotifyEvent);
begin
inherited Create(true);
FCancelAlerts := False;
Signal := TSimpleEvent.Create;
Parent := Owner;
EventGroup := EventGrp;
OnTerminate := TermEvent;
Resume;
end;
{$WARNINGS ON}
Anybody working successfully with this control? Is it maybe an FPC3.0 issue?
Best regards