I'm trying to learn how to create and use a service so I figured I'd try to run the TImeServer sample application as a service.
First I ran the app from the command line to make sure it's working as expected and that was successful.
Then I entered the following commands:
>timeserver /registerService /displayName=TServer
[Information] The application has been successfully registered as a service
>net start TServer
The service is not responding to the control function.
More help is available by typing NET HELPMSG 2186.
[Information] The service has been successfully unregistered
My first question is "What do I need to do to make this work?"
My second question is "Is there a way to use the VS 2003 debugger to debug it once it's registered?"
Thanks in advance!