Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
program TestMeridasrv;
uses
SvcMgr,
uCEFApplication,
UTestMerida in 'UTestMerida.pas' {TestMerida: TService},
UGlobalCef in 'UGlobalCef.pas';
{$R *.RES}
begin
CreateGlobalCEFApp;
if GlobalCEFApp.StartMainProcess then
begin
if not Application.DelayInitialize or Application.Installing then
Application.Initialize;
Application.CreateForm(TTestMerida, TestMerida);
Application.Run;
end;
GlobalCEFApp.Free;
end.
The service never start.
I can't find any example of CEF4Dephi with windows service