Maybe you need to call SetServiceStatus(SERVICE_STOPPED) or exit the process or something? What happens when you use net stop to stop the service? It stops reasonably fast, or not?
- Jay -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/