CEF4 Windows Service
Posted: Sat Apr 25, 2020 5:16 pm
Hello.
I have designed a win32 application with CEF4 that works correctly.
I need to convert this app into Windows service.
I write in source:
The service never start.
I can't find any example of CEF4Dephi with windows service
How can I dO?
Thanks
I have designed a win32 application with CEF4 that works correctly.
I need to convert this app into Windows service.
I write in source:
Code: Select all
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.
I can't find any example of CEF4Dephi with windows service
How can I dO?
Thanks