mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-04-17 06:57:13 +02:00
21 lines
445 B
ObjectPascal
21 lines
445 B
ObjectPascal
|
program JSExtension_sp;
|
||
|
|
||
|
{$MODE Delphi}
|
||
|
|
||
|
uses
|
||
|
LCLIntf, LCLType, LMessages, Forms, Interfaces,
|
||
|
uCEFApplicationCore, uJSExtension_sp, uTestExtensionHandler;
|
||
|
|
||
|
{$IFDEF WIN32}
|
||
|
// CEF needs to set the LARGEADDRESSAWARE ($20) flag which allows 32-bit processes to use up to 3GB of RAM.
|
||
|
const
|
||
|
IMAGE_FILE_LARGE_ADDRESS_AWARE = $0020;
|
||
|
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
||
|
{$ENDIF}
|
||
|
|
||
|
begin
|
||
|
CreateGlobalCEFApp;
|
||
|
DestroyGlobalCEFApp;
|
||
|
end.
|
||
|
|