>Hi,
>
>Anyone knows the API call to start and stop a service running on NT ?
I just received the article that follows this morning. I know it's not an API but maybe this can help!
+++++++++++++++++++++++++++
AppToService v2.1 [23k] NT FREE
http://www.basta.com/Software/AppToService.ziphttp://www.basta.com/ProdAppToService.htm "AppToService is a Windows NT Unicode console application that lets you run regular applications as NT Services. This allows you to have some of the benefits of a Windows NT service, such as the ability to run an application even when no user is logged on the computer, the ability to run an application under a specified user account, the ability to allow an application to survive logoff/logon sequences, hence saving the overhead of restarting it for each new user, and so on."
+++++++++++++++++++++++++++
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com