windows service problem
Konstantin Veretennicov
kveretennicov at gmail.com
Sat Jun 25 05:01:11 EDT 2005
On 6/24/05, Austin <austin at maxtronic.com.tw> wrote:
> def __init__(self,args):
> win32serviceutil.ServiceFramework.__init__(self,args)
> self.hWaitStop = win32event.CreateEvent(None, 0, 0, None)
> self.check = 1
Change last two lines to
self.check = 1
self.hWaitStop = win32event.CreateEvent(None, 0, 1, None)
(SvcDoRun is waiting for hWaitStop event, but you never signal it.)
- kv
More information about the Python-list
mailing list