mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
Updated comments in Subprocess demo
Added more info to the Lazarus package
This commit is contained in:
parent
96890240e2
commit
32c4ed2eb0
@ -47,19 +47,22 @@ uses
|
|||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
uCEFApplication;
|
uCEFApplication;
|
||||||
|
|
||||||
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes to use up to 3GB of RAM.
|
// CEF3 needs to set the LARGEADDRESSAWARE flag which allows 32-bit processes
|
||||||
|
// to use up to 3GB of RAM.
|
||||||
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
||||||
|
|
||||||
begin
|
begin
|
||||||
GlobalCEFApp := TCefApplication.Create;
|
GlobalCEFApp := TCefApplication.Create;
|
||||||
|
|
||||||
// The main process and the subprocess *MUST* have the same FrameworkDirPath, ResourcesDirPath,
|
// The main process and the subprocess *MUST* have the same GlobalCEFApp
|
||||||
// LocalesDirPath, cache, cookies and UserDataPath paths
|
// properties and events, specially FrameworkDirPath, ResourcesDirPath,
|
||||||
|
// LocalesDirPath, cache, cookies and UserDataPath paths.
|
||||||
|
|
||||||
// The demos are compiled into the BIN directory. Make sure SubProcess.exe and SimpleBrowser.exe are in that
|
// The demos are compiled into the BIN directory. Make sure SubProcess.exe
|
||||||
// directory or this demo won't work.
|
// and SimpleBrowser.exe are in that directory or this demo won't work.
|
||||||
|
|
||||||
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
|
// In case you want to use custom directories for the CEF3 binaries, cache,
|
||||||
|
// cookies and user data.
|
||||||
{
|
{
|
||||||
GlobalCEFApp.FrameworkDirPath := 'cef';
|
GlobalCEFApp.FrameworkDirPath := 'cef';
|
||||||
GlobalCEFApp.ResourcesDirPath := 'cef';
|
GlobalCEFApp.ResourcesDirPath := 'cef';
|
||||||
|
@ -19,8 +19,9 @@
|
|||||||
</SyntaxOptions>
|
</SyntaxOptions>
|
||||||
</Parsing>
|
</Parsing>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
<Description Value="CEF4Delphi"/>
|
<Description Value="CEF4Delphi is an open source project created by Salvador Díaz Fau to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC."/>
|
||||||
<Version Major="1"/>
|
<License Value="MPL 1.1"/>
|
||||||
|
<Version Major="73" Minor="1" Release="12"/>
|
||||||
<Files Count="139">
|
<Files Count="139">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>
|
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user