Thanks whosrdaddy for your reply.
Yes, you are right, the code itself works because the service is installed but if you try to start one of the services installed it will freeze.
I believe it is due to the NAME value I'm changing here.
Am I wrong?
Thanks a lot
Elena
Hello,
I need to create a service application which can be started X times as a service.
I used the following code:
procedure TMyService.ServiceBeforeInstall(Sender: TService);
begin
if ParamStr(1)='-install' then IHotel := ParamStr(2) else IHotel :=
ParamStr(1);
IHotel :=...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.