You've already forked CEF4Delphi
							
							
				mirror of
				https://github.com/salvadordf/CEF4Delphi.git
				synced 2025-10-30 23:07:52 +02:00 
			
		
		
		
	Updated comments in Subprocess demo
Added more info to the Lazarus package
This commit is contained in:
		| @@ -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'; | ||||
|   | ||||
| @@ -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"/> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user