1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-04-17 06:57:13 +02:00

36 lines
571 B
ObjectPascal
Raw Normal View History

2017-05-21 19:38:32 +02:00
program FullScreenBrowser;
{$MODE Delphi}
{$I ..\..\..\source\cef.inc}
2017-05-21 19:38:32 +02:00
uses
{$IFDEF DELPHI16_UP}
Vcl.Forms,
WinApi.Windows,
2017-05-21 19:38:32 +02:00
{$ELSE}
Forms, Windows,
LCLIntf, LCLType, LMessages, Interfaces,
2017-05-21 19:38:32 +02:00
{$ENDIF }
uCEFApplication,
uMainForm in 'uMainForm.pas' {MainForm};
{.$R *.res}
2017-05-21 19:38:32 +02:00
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
{$R *.res}
2017-05-21 19:38:32 +02:00
begin
CreateGlobalCEFApp;
2017-05-21 19:38:32 +02:00
if GlobalCEFApp.StartMainProcess then
begin
Application.Initialize;
Application.CreateForm(TMainForm, MainForm);
Application.Run;
end;
DestroyGlobalCEFApp;
2017-05-21 19:38:32 +02:00
end.