Thanks for the response
I have a working version service that i created. It is an exe. now i want to register and start the service programatically.
I can register and run from command line( as it is an exe)
i register it by the following command
and start the service by
net start myservice.
but i want to register and start through another program. i will my post registration and starting code.
by this code i am able to register but not able to start
i m getting the following error :
could not start service on Local computer
Error 1053: The service did not respond to the start control request in a timely fashion
After this i am unable to delete the service also...