Updated comments in Subprocess demo

Added more info to the Lazarus package
This commit is contained in:
Salvador Díaz Fau 2019-03-22 17:23:20 +01:00
parent 96890240e2
commit 32c4ed2eb0
2 changed files with 12 additions and 8 deletions

View File

@ -47,19 +47,22 @@ uses
{$ENDIF}
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}
begin
GlobalCEFApp := TCefApplication.Create;
// The main process and the subprocess *MUST* have the same FrameworkDirPath, ResourcesDirPath,
// LocalesDirPath, cache, cookies and UserDataPath paths
// The main process and the subprocess *MUST* have the same GlobalCEFApp
// 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
// directory or this demo won't work.
// The demos are compiled into the BIN directory. Make sure SubProcess.exe
// 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.ResourcesDirPath := 'cef';

View File

@ -19,8 +19,9 @@
</SyntaxOptions>
</Parsing>
</CompilerOptions>
<Description Value="CEF4Delphi"/>
<Version Major="1"/>
<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."/>
<License Value="MPL 1.1"/>
<Version Major="73" Minor="1" Release="12"/>
<Files Count="139">
<Item1>
<Filename Value="..\source\uCEFAccessibilityHandler.pas"/>