Hi,
Is it there any API function that will allow me to notify the Management Console that my Service has started
I'm working on a windows service written in a different language and on starting the following error pops up: "Error 1053: The service did not respond to the start or control request in a timely fashion."
Many thanks
Vali

API, Windows Services and Management Console
mk20
It sounds like your service isn't calling StartServiceCtrlDispatcher within two minutes of being started. http://msdn.microsoft.com/library/en-us/dllproc/base/startservicectrldispatcher.asp
That or else your registered handler isn't calling SetServiceStatus quickly enough to respond to a control request.
This MSDN article is pretty old but it is still a great explaination of the requirements a service has to meet to be cosnidered well behaved. http://www.microsoft.com/msj/1097/WINNT.aspx
dlippiet05
This forum is for C++ language issues. For specific programming questions involving Win32, please go to the MSDN Discussion groups:
http://msdn.microsoft.com/newsgroups/default.aspx
OTP