search for: openscmanager

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

2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...OID SvcInstall() { - SC_HANDLE schSCManager; - SC_HANDLE schService; - TCHAR szPath[MAX_PATH]; - - if ( - !GetModuleFileName( - NULL, - szPath, - MAX_PATH - ) - ) { - printf("Cannot install service (%d)\n", (int) GetLastError()); - return; - } - - schSCManager = OpenSCManager( - NULL, - NULL, - SC_MANAGER_ALL_ACCESS - ); - + SC_HANDLE schSCManager; + SC_HANDLE schService; + TCHAR szPath[MAX_PATH]; + + if ( + !GetModuleFileName( + NULL, + szPath, + MAX_PATH + ) + ) { + printf("Cannot insta...
2007 Mar 19
2
wineprefixcreate: msiexec.exe -- "Failed to open the service control manager"
...exist, or more specifically the system.reg does not yet exist, wineprefixcreate delivers the message "Failed to open the service control manager." I have tracked this down to the fact that HKLM\CurrentControlSet\Services does not yet exist when the msiexec.exe is registered and hence OpenSCManager fails. What is the proper way to register this key. In DoRegServer I have prepended the following code VVVVVVVV WCHAR const key[35] = { 'S', 'y', 's', 't', 'e', 'm', '\\', 'C', 'u', 'r', 'r...
2004 Feb 01
2
test_services test case
...} assert_raises(NotImplementedError){ Service.services } # no non-block a = [] Service.services{ |s| a.push(s) } assert_kind_of(Struct::Win32Service,a.first) end I added some more information to the error messages, and it turns out that the failure is caused by the call to OpenSCManager() in the services() function in service.c. As far as I can tell, the only reason for this to happen would have something to do with the way TestUnit calls the tests. I discovered two interesting things while tinkering with this test case. First, If I remove the 2nd assertion (assert_raises) t...
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...OID SvcInstall() { - SC_HANDLE schSCManager; - SC_HANDLE schService; - TCHAR szPath[MAX_PATH]; - - if ( - !GetModuleFileName( - NULL, - szPath, - MAX_PATH - ) - ) { - printf("Cannot install service (%d)\n", (int) GetLastError()); - return; - } - - schSCManager = OpenSCManager( - NULL, - NULL, - SC_MANAGER_ALL_ACCESS - ); - + SC_HANDLE schSCManager; + SC_HANDLE schService; + TCHAR szPath[MAX_PATH]; + + if ( + !GetModuleFileName( + NULL, + szPath, + MAX_PATH + ) + ) { + printf("Cannot insta...
2011 Jun 21
10
GPLPV on windows 7, clean shutdown not working in some case
We have many domUs windows 7 64 bit on production systems, all with build gplpv_Vista2008x64_0.11.0.238.msi. Randomly, during install shutdown monitor service wasn''t created and we not understand why. All other things about gplpv are working, someone can help me to solve this problem please? _______________________________________________ Xen-users mailing list
2013 Nov 18
7
RHSrvAny: Fix failure on Windows 2003
The newly rebuilt RHSrvAny worked on Windows XP, Windows 2003 R2, and Windows Vista+, but segfaulted on Windows 2003. After much investigation, the issue seems to have been with inconsistent use of Unicode. This series fixes compilation on Microsoft Visual C++ 2010 (the most recent version which runs on Windows 2003), fixes all compiler warnings, and enabled warnings during the build. The
2016 Apr 17
2
NUT Windows port sources review
...th Linux version of upsd and so on. It allows to have mixed environment without any problem. It seems there are no system requirements for minimal supported Windows version. As result, no one checks the version of operating system: neither NUT programs nor MSI setup. For example, Windows port uses OpenSCManager function, but it is available from Windows XP/Windows 2003 only. As result, the programs will crash in environment of older operating systems. I think that minimal supported Windows version must be Windows XP/Windows 2003 or even more modern one. Setup and source code should check operating system...
2016 Apr 25
0
NUT Windows port sources review
...version of upsd and so on. It allows to have mixed environment without any problem. > > It seems there are no system requirements for minimal supported Windows version. As result, no one checks the version of operating system: neither NUT programs nor MSI setup. For example, Windows port uses OpenSCManager function, but it is available from Windows XP/Windows 2003 only. As result, the programs will crash in environment of older operating systems. > > I think that minimal supported Windows version must be Windows XP/Windows 2003 or even more modern one. Setup and source code should check operati...
2014 Apr 18
0
Wine release 1.7.17
...vies (3): ntdll: Add a replacement getmntent for Android. ntdll: For Android look in /proc/mounts for mounted file systems. wineps: Always initialize the Windows page type. Jacek Caban (7): mshtml: Ignore QueryHitPoint calls in activex.c tests. services: Skip tests if OpenSCManager failed. qcap: Store max frame size separately from video format bitmap info and restore it before each ICCompress call. mshtml: Ignore &IID_IWebBrowserPriv2IE7 in wb_qi. cscript: Share sources with wscript. wscript: Added WScript.CreateObject implementation. secur3...
2014 Feb 07
0
Wine release 1.7.12
...common wine_dbgstr_guid implementation from test.h. kernel32/tests: Remove unused variable. wrc: Remove unused variables. rundll32: Use BOOL type where appropriate. oleaut32: Use BOOL type where appropriate. Hans Leidekker (11): advapi32/tests: Add a test to show that OpenSCManager clears last error on success. dwmapi: Silence a fixme. winhttp/tests: Fix a test that fails on Windows. wbemprox: Allow string values in boolean comparisons. wbemprox: Add a couple of network properties. advapi32: Use a generic Keychain item to store credentials on Mac...