mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-04-17 06:57:13 +02:00
31 lines
513 B
ObjectPascal
31 lines
513 B
ObjectPascal
|
program ToolBoxBrowser2;
|
||
|
|
||
|
uses
|
||
|
{$IFDEF DELPHI16_UP}
|
||
|
Vcl.Forms,
|
||
|
WinApi.Windows,
|
||
|
{$ELSE}
|
||
|
Forms,
|
||
|
Windows,
|
||
|
{$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.
|