There is a code in C ++ (VS2008 environment), which the executive file itself puts as a service with autostart. Run as a service does not want, but appeared in the list of services. There is no answer from the program itself when the OS calls it to find out: are you a service or not? The program does not know that it is a service! How to teach her? Windows displays the type:
Failed to start the My Service_Name service on the Local Computer. Error 1053: The service did not respond to the request in a timely manner.