search for: starting_a_service

Displaying 1 result from an estimated 1 matches for "starting_a_service".

2005 Nov 22
1
Win32 Service Timeout command
...quot; option in the Service.create_service method, and wrap the StartService() function in a "while dwCurrentState == SERVICE_START_PENDING; sleep(x)" type of loop. I''m basing my opinion on this link: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc /base/starting_a_service.asp Does that seem a reasonable approach? Of course, this would still mean Jamey would have to guess at a timeout value. Is there a better approach in general? Regards, Dan