How can I change the service name of Data Abstract Server

I have a Data Abstract Server that installed as a services and listening on specific port

I want to have another copy listening on different port, and installed as service too.

I tried to change the service name from project > view source, but that doesn’t change the service name, even if rename the .exe file.

Is there a property that I can change the service name from?

Hi MSoft

you must change in your dpr source the property ServiceName of the method ROStartService.

begin if ROStartService('ServiceName', 'DisplayName', 'Description'); begin ROService.CreateForm(TServerDataModule, ServerDataModule); ROService.Run; Exit; end; end;

Best Regards

Claudio

Thank you Claudio,

Strange thing happened, I already tried that but it didn’t work, I said that in my question, but I tried it again after your answer and it worked fine, seems I didn’t make a build for the project :-/.