mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2024-11-15 15:55:56 +01:00
f764c39cc1
Remove the outdated license text. Use the main cef.inc file in all Delphi demos. Fixed issue #493.
29 lines
525 B
ObjectPascal
29 lines
525 B
ObjectPascal
unit uCEFLoader;
|
|
|
|
{$I ..\..\..\source\cef.inc}
|
|
|
|
interface
|
|
|
|
uses
|
|
uCEFApplicationCore;
|
|
|
|
implementation
|
|
|
|
procedure StartCEFSubprocess;
|
|
begin
|
|
GlobalCEFApp := TCefApplicationCore.Create;
|
|
GlobalCEFApp.WindowlessRenderingEnabled := True;
|
|
GlobalCEFApp.ExternalMessagePump := True;
|
|
GlobalCEFApp.MultiThreadedMessageLoop := False;
|
|
GlobalCEFApp.InitLibLocationFromArgs;
|
|
GlobalCEFApp.StartSubProcess;
|
|
end;
|
|
|
|
initialization
|
|
StartCEFSubprocess;
|
|
|
|
finalization
|
|
DestroyGlobalCEFApp;
|
|
|
|
end.
|