search for: hscservice

Displaying 2 results from an estimated 2 matches for "hscservice".

Did you mean: cscservice
2006 Jun 19
2
win32-service cvs - potential issue with Service.services
Hi all, I''m preparing win32-service for an 0.5.1 release. I''ve made a couple minor changes and altered the test suite a bit. It passes on my box here, except that about half the time I get this error: 1) Error: test_services(TC_Win32Service): Win32::ServiceError: OpenService() call failed: The handle is invalid. test/tc_service.rb:227:in `services''
2005 May 16
0
Add backtrace info in win32-service
Hi all, I think it would greatly aid service debugging if we added Ruby''s backtrace information if a Service.start fails. This would be lines 1251-1255: if(NULL == hSCService){ strcpy(error,ErrorDescription(GetLastError())); CloseServiceHandle(hSCManager); rb_raise(cServiceError,error); } I''m not sure exactly how to do it, though. Or do you think it should just be left up to developers to wrap Daemon.mainloop on their own? Regards, Dan