1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-11-23 21:34:53 +02:00

Added the JSExtensionSubProcess demo

This commit is contained in:
salvadordf
2024-02-07 12:32:52 +01:00
parent a06bcbaa15
commit 161b2e3187
24 changed files with 4499 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
program JSExtension_sp;
uses
uCEFApplicationCore,
uTestExtensionHandler in 'uTestExtensionHandler.pas',
uJSExtension_sp in 'uJSExtension_sp.pas';
const
IMAGE_FILE_LARGE_ADDRESS_AWARE = $0020;
// CEF needs to set the LARGEADDRESSAWARE ($20) flag which allows 32-bit processes to use up to 3GB of RAM.
{$IFDEF WIN32}{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}{$ENDIF}
begin
CreateGlobalCEFApp;
DestroyGlobalCEFApp;
end.