1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-04-17 06:57:13 +02:00
Salvador Díaz Fau f764c39cc1 Replace the SetPEFlags code
Remove the outdated license text.
Use the main cef.inc file in all Delphi demos.
Fixed issue #493.
2023-11-26 19:28:28 +01:00

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.