1
0
mirror of synced 2024-11-14 08:29:15 +00:00
x2log/NamedPipeClient/X2LogNamedPipeClient.dpr
Mark van Renswoude 53220780db Added: Category support (breaking change)
Fixed: graphic didn't show up in test Named Pipe client due to TJPEGImage not being referenced
2014-10-20 12:07:44 +00:00

39 lines
728 B
ObjectPascal

program X2LogNamedPipeClient;
uses
// FastMM4,
System.Classes,
Vcl.Forms,
Vcl.Imaging.jpeg,
X2Log.Intf,
X2Log.Client.NamedPipe,
X2Log.Observer.MonitorForm;
{$R *.res}
var
client: IX2LogObservable;
begin
{ To deserialize the graphic, make sure GetClass succeeds }
RegisterClass(TJPEGImage);
ReportMemoryLeaksOnShutdown := True;
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.Title := 'X²Log Named Pipe Client';
client := TX2LogNamedPipeClient.Create('X2LogTest');
try
with TX2LogObserverMonitorForm.Create(nil, client) do
try
ShowModal;
finally
Free;
end;
finally
client := nil;
end;
end.