I have a service application built in Delphi that works great. It does exactly what I want it to do and all is happy. All is fine until I want to run two (or more) instanc
Insted of hacking the registry, I would recommend using the following guidance and use the Windows Service Controller (sc.exe) command line interface:
When creating a service with sc.exe how to pass in context parameters?
(EDIT: Do use the code as suggested to obtain the Name & DisplayName properties, just don't install your service using the /install switch for your service executable.)