search for: closeservicehandle

Displaying 10 results from an estimated 10 matches for "closeservicehandle".

2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...{ NULL, NULL, NULL - ); - + ); + if (schService == NULL) { printf ( - "CreateService failed (%d)\n", - (int) GetLastError() - ); + "CreateService failed (%d)\n", + (int) GetLastError() + ); CloseServiceHandle (schSCManager); return; } - else { - printf("Service installed successfully\n"); - } + else { + printf("Service installed successfully\n"); + } - CloseServiceHandle (schService); + CloseServiceHandle (schService); CloseServiceHandle (sch...
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''
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...{ NULL, NULL, NULL - ); - + ); + if (schService == NULL) { printf ( - "CreateService failed (%d)\n", - (int) GetLastError() - ); + "CreateService failed (%d)\n", + (int) GetLastError() + ); CloseServiceHandle (schSCManager); return; } - else { - printf("Service installed successfully\n"); - } + else { + printf("Service installed successfully\n"); + } - CloseServiceHandle (schService); + CloseServiceHandle (schService); CloseServiceHandle (sch...
2015 Jul 28
0
Wine release 1.7.48
...t to skip over the correlation descriptor. rpcrt4: Procedures containing a range within a conformance have a larger correlation descriptor. msi: Fix a registry key leak. msi: Be more selective about which access modes are used to open or create keys. advapi32: Don't call CloseServiceHandle() with an invalid handle. msi: Don't call CloseServiceHandle() with an invalid handle. net: Don't call CloseServiceHandle() with an invalid handle. wbemprox: Don't call CloseServiceHandle() with an invalid handle. mshtml/tests: Fix a crash on Win 2008. winh...
2008 Apr 19
0
[Fwd: win32-service-0.6.1 using a Rails Model]
Any ideas here? Line 911-921 indicates a failure in OpenService: handle_scs = OpenService( handle_scm, service, SERVICE_QUERY_STATUS ) if handle_scs == 0 error = get_last_error CloseServiceHandle(handle_scm) raise Error, error end Something to do with WEBrick perhaps? Regards, Dan -------------- next part -------------- An embedded message was scrubbed... From: david <davidhooey at gmail.com> Subject: win32-service-0.6.1 using a Rails Model Date: Sun, 20 Apr 2008 01:30:07 +0900...
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
2019 Oct 18
0
Wine release 4.18
...leaks in parse_path (Coverity). scrrun/tests: Fix some test failures on Windows 2003. comctl32/tests: Prevent some test failures by moving the cursor away from the window. ucrtbase: Don't differentiate for 64-bit in __fpe_flt_rounds. advapi32/tests: Remove a superfluous CloseServiceHandle call (Coverity). kernel32/tests: Skip some tests when NtSetInformationProcess is denied access. kernel32/tests: Remove a test that shows inconsistent results. ddraw/tests: Fix some test failures on 64-bit Windows. Vijay Kiran Kamuju (8): msvcrt: Implement %R format for strf...
2007 Jul 13
0
Wine release 0.9.41
...n't crash on win98. kernel32/tests 2/2: Use skip for not implemented function. advapi32/tests: Use skip for not implemented function. secur32/tests: Use skip when functions are not available. advapi32/tests: Add tests for OpenServiceA. advapi32/tests: Add tests for CloseServiceHandle. ddraw/tests: Use skip instead of trace. ddraw/tests: Use skip instead of trace. kernel32/tests: Add a forgotten if statement. advapi32: Handle to Service Control Manager is checked first. advapi32: Create specific access rights for service control manager handles....
2007 Jun 29
0
Wine release 0.9.40
...rial applying to the state table. wined3d: Clamp material power to 128.0. wined3d: Skip the start offset to the source array in IWIneD3DVertexShaderImpl_SetLocalConstantsF. wined3d: Some point sprite fixes. Tim Schwartz (2): net.exe: Add NET STOP. net.exe: Add missing CloseServiceHandle(). Vitaliy Margolen (4): dinput: Remove duplicate code. dinput: Move parent dinput reference into base class. dinput: Combine all Release functionality into base class. dinput: Move key state array into object. Vitaly Budovski (1): winealsa: Fix incorrect callback pr...
2009 Jan 30
0
Wine release 1.1.14
...FAILURE_ACTIONS support 16920 Automatic download of dotnetfx installer doesn't work anymore 16927 Compile broken in dlls/kernel32/cpu.c on NetBSD 16933 Compile broken in dlls/ntdll/signal_i386.c on NetBSD 16944 DVD-Ripper RipIt4Me stopped working as of version 1.1.8 16946 Calling CloseServiceHandle() multiple times on same client side service handle corrupts heap 16947 [v]DbgPrint[Ex][WithPrefix] output buffers as ansi - not suitable in cases when unicode format codes are passed 16960 UnrealTournament video issue: wined3d: Add support for EXT_vertex_array_bgra. 16970 read exactly on...