2023-11-27 18:21:07 +01:00
|
|
|
|
program MediaRouter;
|
2020-04-25 15:57:11 +02:00
|
|
|
|
|
|
|
|
|
{$MODE Delphi}
|
|
|
|
|
|
2023-11-27 18:21:07 +01:00
|
|
|
|
{$I ..\..\..\source\cef.inc}
|
2020-04-25 15:57:11 +02:00
|
|
|
|
|
|
|
|
|
uses
|
|
|
|
|
{$IFDEF DELPHI16_UP}
|
|
|
|
|
Vcl.Forms,
|
|
|
|
|
WinApi.Windows,
|
|
|
|
|
{$ELSE}
|
|
|
|
|
Windows,
|
|
|
|
|
Forms,
|
|
|
|
|
LCLIntf, LCLType, LMessages, Interfaces,
|
|
|
|
|
{$ENDIF }
|
|
|
|
|
uCEFApplication,
|
|
|
|
|
uMediaRouterFrm in 'uMediaRouterFrm.pas' {MediaRouterFrm};
|
|
|
|
|
|
|
|
|
|
{.$R *.res}
|
|
|
|
|
|
|
|
|
|
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
|
|
|
|
|
|
|
|
|
begin
|
|
|
|
|
CreateGlobalCEFApp;
|
|
|
|
|
|
|
|
|
|
if GlobalCEFApp.StartMainProcess then
|
|
|
|
|
begin
|
|
|
|
|
Application.Initialize;
|
|
|
|
|
Application.MainFormOnTaskbar := True;
|
|
|
|
|
Application.CreateForm(TMediaRouterFrm, MediaRouterFrm);
|
|
|
|
|
Application.Run;
|
|
|
|
|
end;
|
|
|
|
|
|
|
|
|
|
DestroyGlobalCEFApp;
|
|
|
|
|
end.
|