search for: dwservicest

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

Did you mean: _wservices
2005 Nov 26
1
Another patch of win32-service for nice startup.
...vice.c 2005-11-27 00:03:30.000000000 +0900 +++ service.c 2005-11-27 00:01:58.000000000 +0900 @@ -14,6 +14,7 @@ static VALUE cDaemonError; static VALUE rbServiceStruct, rbServiceStatusStruct; +static HANDLE hStartEvent; static HANDLE hStopEvent; static SERVICE_STATUS_HANDLE ssh; static DWORD dwServiceState; @@ -33,6 +34,7 @@ { DWORD bRet; DWORD dwWaitRes; + int i; // Obtain the name of the service. LPTSTR lpszServiceName = lpszArgv[0]; @@ -46,6 +48,15 @@ rb_raise(cDaemonError,"RegisterServiceCtrlHandler failed"); } + // wait for sevice initialization +...
2006 Dec 07
0
Fwd: win32-service problems with patch
...+ lib/win32/service.c 7 Dec 2006 13:28:27 -0000 @@ -14,6 +14,7 @@ static VALUE cDaemonError; static VALUE v_service_struct, v_service_status_struct; +static HANDLE hThread; static HANDLE hStartEvent; static HANDLE hStopEvent; static HANDLE hStopCompletedEvent; @@ -21,12 +22,6 @@ static DWORD dwServiceState; static TCHAR error[1024]; -static VALUE EventHookHash; -static VALUE thread_group; -static int cAdd; -static int cList; -static int cSize; - CRITICAL_SECTION csControlCode; // I happen to know from looking in the header file // that 0 is not a valid service control code @@ -39,7 +34,...