diff --git a/checkin_notes b/checkin_notes index b29b25a13c..97518cf6b7 100644 --- a/checkin_notes +++ b/checkin_notes @@ -6532,3 +6532,22 @@ Rom 25 July 2009 clientlib/win/ Service.cpp +<<<<<<< .working +======= + +Rom 25 July 2009 + - Tag for 6.8.11 release, all platforms + boinc_core_release_6_8_11 + + / + configure.ac + version.h + +Rom 25 July 2009 + - MGR: Refine todays checkin with support for the BOINC + Service Control utility, don't use the runas verb on systems + older than Vista. + + clientlib/win/ + Service.cpp +>>>>>>> .merge-right.r18732 diff --git a/clientlib/win/Service.cpp b/clientlib/win/Service.cpp index 8403e3b213..5fa582c8ed 100644 --- a/clientlib/win/Service.cpp +++ b/clientlib/win/Service.cpp @@ -257,7 +257,9 @@ EXTERN_C __declspec(dllexport) BOOL StartBOINCService() shex.cbSize = sizeof( SHELLEXECUTEINFO ); shex.fMask = SEE_MASK_NOCLOSEPROCESS; shex.hwnd = NULL; - shex.lpVerb = _T("runas"); + if ((LOBYTE(LOWORD(GetVersion()))) >= 6) { + shex.lpVerb = _T("runas"); + } shex.lpFile = (LPCTSTR)&szExe; shex.lpParameters = _T("--start"); shex.lpDirectory = (LPCTSTR)&szPath; @@ -352,7 +354,9 @@ EXTERN_C __declspec(dllexport) BOOL StopBOINCService() shex.cbSize = sizeof( SHELLEXECUTEINFO ); shex.fMask = SEE_MASK_NOCLOSEPROCESS; shex.hwnd = NULL; - shex.lpVerb = _T("runas"); + if ((LOBYTE(LOWORD(GetVersion()))) >= 6) { + shex.lpVerb = _T("runas"); + } shex.lpFile = (LPCTSTR)&szExe; shex.lpParameters = _T("--stop"); shex.lpDirectory = (LPCTSTR)&szPath;