2023-11-04 15:35:47 +01:00
|
|
|
program MiniBrowser;
|
|
|
|
|
2023-11-26 19:28:28 +01:00
|
|
|
{$I ..\..\..\source\cef.inc}
|
2023-11-04 15:35:47 +01:00
|
|
|
|
|
|
|
uses
|
|
|
|
Forms,
|
|
|
|
uCEFApplication,
|
|
|
|
uMiniBrowser in 'uMiniBrowser.pas' {MiniBrowserFrm};
|
|
|
|
|
|
|
|
{$R *.res}
|
2024-05-02 16:54:07 +02:00
|
|
|
{$R 'Win7UAC.res'}
|
|
|
|
// Manifest made by Wellington Torrejais da Silva
|
|
|
|
// https://gist.github.com/hotsoft-desenv2/5f722f1c44ed3abfc4f3d5d62ed644eb
|
2023-11-04 15:35:47 +01:00
|
|
|
|
2023-11-13 17:38:49 +01:00
|
|
|
const
|
|
|
|
IMAGE_FILE_LARGE_ADDRESS_AWARE = $0020;
|
|
|
|
|
|
|
|
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
2023-11-04 15:35:47 +01:00
|
|
|
|
|
|
|
begin
|
|
|
|
CreateGlobalCEFApp;
|
|
|
|
|
|
|
|
if GlobalCEFApp.StartMainProcess then
|
|
|
|
begin
|
|
|
|
Application.Initialize;
|
|
|
|
Application.CreateForm(TMiniBrowserFrm, MiniBrowserFrm);
|
|
|
|
Application.Run;
|
|
|
|
end;
|
|
|
|
|
|
|
|
DestroyGlobalCEFApp;
|
|
|
|
end.
|