mirror of https://github.com/BOINC/boinc.git
- 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 svn path=/trunk/boinc/; revision=18735
This commit is contained in:
parent
f59e32784f
commit
8c7edffec0
|
@ -6532,3 +6532,22 @@ Rom 25 July 2009
|
||||||
|
|
||||||
clientlib/win/
|
clientlib/win/
|
||||||
Service.cpp
|
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
|
||||||
|
|
|
@ -257,7 +257,9 @@ EXTERN_C __declspec(dllexport) BOOL StartBOINCService()
|
||||||
shex.cbSize = sizeof( SHELLEXECUTEINFO );
|
shex.cbSize = sizeof( SHELLEXECUTEINFO );
|
||||||
shex.fMask = SEE_MASK_NOCLOSEPROCESS;
|
shex.fMask = SEE_MASK_NOCLOSEPROCESS;
|
||||||
shex.hwnd = NULL;
|
shex.hwnd = NULL;
|
||||||
shex.lpVerb = _T("runas");
|
if ((LOBYTE(LOWORD(GetVersion()))) >= 6) {
|
||||||
|
shex.lpVerb = _T("runas");
|
||||||
|
}
|
||||||
shex.lpFile = (LPCTSTR)&szExe;
|
shex.lpFile = (LPCTSTR)&szExe;
|
||||||
shex.lpParameters = _T("--start");
|
shex.lpParameters = _T("--start");
|
||||||
shex.lpDirectory = (LPCTSTR)&szPath;
|
shex.lpDirectory = (LPCTSTR)&szPath;
|
||||||
|
@ -352,7 +354,9 @@ EXTERN_C __declspec(dllexport) BOOL StopBOINCService()
|
||||||
shex.cbSize = sizeof( SHELLEXECUTEINFO );
|
shex.cbSize = sizeof( SHELLEXECUTEINFO );
|
||||||
shex.fMask = SEE_MASK_NOCLOSEPROCESS;
|
shex.fMask = SEE_MASK_NOCLOSEPROCESS;
|
||||||
shex.hwnd = NULL;
|
shex.hwnd = NULL;
|
||||||
shex.lpVerb = _T("runas");
|
if ((LOBYTE(LOWORD(GetVersion()))) >= 6) {
|
||||||
|
shex.lpVerb = _T("runas");
|
||||||
|
}
|
||||||
shex.lpFile = (LPCTSTR)&szExe;
|
shex.lpFile = (LPCTSTR)&szExe;
|
||||||
shex.lpParameters = _T("--stop");
|
shex.lpParameters = _T("--stop");
|
||||||
shex.lpDirectory = (LPCTSTR)&szPath;
|
shex.lpDirectory = (LPCTSTR)&szPath;
|
||||||
|
|
Loading…
Reference in New Issue