mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
34 lines
574 B
ObjectPascal
34 lines
574 B
ObjectPascal
|
program ToolBoxBrowser2;
|
||
|
|
||
|
{$MODE Delphi}
|
||
|
|
||
|
uses
|
||
|
{$IFDEF DELPHI16_UP}
|
||
|
Vcl.Forms,
|
||
|
WinApi.Windows,
|
||
|
{$ELSE}
|
||
|
Windows,
|
||
|
Forms,
|
||
|
LCLIntf, LCLType, LMessages, Interfaces,
|
||
|
{$ENDIF }
|
||
|
uCEFApplication,
|
||
|
uMainForm in 'uMainForm.pas' {MainForm};
|
||
|
|
||
|
{.$R *.res}
|
||
|
|
||
|
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
||
|
|
||
|
begin
|
||
|
CreateGlobalCEFApp;
|
||
|
|
||
|
if GlobalCEFApp.StartMainProcess then
|
||
|
begin
|
||
|
Application.Initialize;
|
||
|
Application.MainFormOnTaskbar := True;
|
||
|
Application.CreateForm(TMainForm, MainForm);
|
||
|
Application.Run;
|
||
|
end;
|
||
|
|
||
|
DestroyGlobalCEFApp;
|
||
|
end.
|