You've already forked CEF4Delphi
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user