This function returns the executable path of a specified service.
The name of the target computer. If the pointer is NULL or points to an empty string, the function connects to the service control manager on the local computer.
The name of the service to which the path is required.
Attached is the source code to an application which retrieve's the executable path for a specified service.
Only Delphi source code is included in the archive.
Delphi Basics - Free Delphi Source Code - Ultimate Programming Resource > Delphi Basics Snippets >