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} {$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';

View File

@ -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"/>