From bab194d3c096042e635af7c806ee57a0bebeb7b6 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 19 Feb 2021 02:38:43 +0100 Subject: [PATCH] Add Win32 PE flag --- .../ExternalPumpBrowser/ExternalPumpBrowser.lpr | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/demos/Lazarus_any_OS/ExternalPumpBrowser/ExternalPumpBrowser.lpr b/demos/Lazarus_any_OS/ExternalPumpBrowser/ExternalPumpBrowser.lpr index f78c50ae..b828e5a7 100644 --- a/demos/Lazarus_any_OS/ExternalPumpBrowser/ExternalPumpBrowser.lpr +++ b/demos/Lazarus_any_OS/ExternalPumpBrowser/ExternalPumpBrowser.lpr @@ -67,6 +67,11 @@ uses {$R *.res} +{$IFDEF WIN32} + // CEF needs to set the LARGEADDRESSAWARE ($20) flag which allows 32-bit processes to use up to 3GB of RAM. + {$SetPEFlags $20} +{$ENDIF} + begin RequireDerivedFormResource:=True; Application.Title := 'External Pump Browser';