1
0
mirror of synced 2024-11-14 08:29:15 +00:00
x2log/NamedPipeClient/X2LogNamedPipeClient.dpr

39 lines
728 B
ObjectPascal
Raw Normal View History

2014-05-18 18:09:07 +00:00
program X2LogNamedPipeClient;
uses
// FastMM4,
System.Classes,
2014-05-18 18:09:07 +00:00
Vcl.Forms,
Vcl.Imaging.jpeg,
X2Log.Intf,
X2Log.Client.NamedPipe,
X2Log.Observer.MonitorForm;
2014-05-18 18:09:07 +00:00
{$R *.res}
var
client: IX2LogObservable;
2014-05-18 18:09:07 +00:00
begin
{ To deserialize the graphic, make sure GetClass succeeds }
RegisterClass(TJPEGImage);
ReportMemoryLeaksOnShutdown := True;
2014-05-18 18:09:07 +00:00
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;
2014-05-18 18:09:07 +00:00
end.