mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-03-27 20:20:31 +02:00
19 lines
436 B
ObjectPascal
19 lines
436 B
ObjectPascal
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.
|
|
|