2020-05-05 18:10:33 +02:00
|
|
|
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}
|
|
|
|
|
2024-05-02 12:31:19 +02:00
|
|
|
{$R *.res}
|
|
|
|
|
2020-05-05 18:10:33 +02:00
|
|
|
begin
|
|
|
|
CreateGlobalCEFApp;
|
|
|
|
|
|
|
|
if GlobalCEFApp.StartMainProcess then
|
|
|
|
begin
|
|
|
|
Application.Initialize;
|
|
|
|
Application.MainFormOnTaskbar := True;
|
|
|
|
Application.CreateForm(TMainForm, MainForm);
|
|
|
|
Application.Run;
|
|
|
|
end;
|
|
|
|
|
|
|
|
DestroyGlobalCEFApp;
|
|
|
|
end.
|