On Windows, include boinc_win.h
No references to STDWX_H, STDAFX_H etc.
Note: .cpp files should not have a bunch of gnarly #if logic in their includes.
If such logic is needed, put it in a central place.
start/stop the BOINC Service on Windows now. Starting with
Windows Vista a normal admin account is started with a
restricted token, meaning that a process has to be elevated
in order to start and stop services. The recommended way to
handle this whole process is to create a stub application that
has an application manifest embedded within it that tells
Windows that full admin rights are required and then launch
that program (boincsvcctrl.exe) from the application
(boincmgr.exe) which normally runs with the restricted token.
clientctrl/
boincsvcctrl.cpp
clientlib/win/
Service.cpp
svn path=/branches/boinc_core_release_6_8/; revision=18722
start/stop the BOINC Service on Windows now. Starting with
Windows Vista a normal admin account is started with a
restricted token, meaning that a process has to be elevated
in order to start and stop services. The recommended way to
handle this whole process is to create a stub application that
has an application manifest embedded within it that tells
Windows that full admin rights are required and then launch
that program (boincsvcctrl.exe) from the application
(boincmgr.exe) which normally runs with the restricted token.
clientctrl/
boincsvcctrl.cpp
clientlib/win/
Service.cpp
svn path=/trunk/boinc/; revision=18720
the BOINC service, if it is installed as a service.
NOTE: If UAC is turned on in Windows Vista then even an
administrator cannot start/stop a service without elevating
their priviliages. The new application includes the
requiresAdmin tag in its manifest file to cause the UAC
dialog to be displayed when it is launched.
clientctrl/
boincsvcctrl.cpp, .h
boincsvcctrl.rc
boincsvcctrl.xml
win_build/
boinc.sln
boincsvcctrl.vcproj
svn path=/trunk/boinc/; revision=16488