mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=11678
This commit is contained in:
parent
79848b281c
commit
0edb064310
|
@ -13414,3 +13414,6 @@ Charlie 13 Dec 2006
|
|||
|
||||
mac_installer/
|
||||
release_boinc.sh
|
||||
|
||||
David 14 Dec 2006
|
||||
- moved clientlib/win/Identification.cpp to lib/win_util.C
|
||||
|
|
|
@ -34,6 +34,14 @@ in C/C++ 'Compile As' project properties.
|
|||
The BOINC API is implemented in C++.
|
||||
Information about using it from C and FORTRAN is
|
||||
<a href=fortran.php>here</a>.
|
||||
|
||||
<h2>Compression</h2>
|
||||
If you release new versions frequently,
|
||||
have a large executable,
|
||||
and want to conserve server bandwidth,
|
||||
you may want to compress your executable.
|
||||
The best way to do this is with
|
||||
<a href=http://upx.sourceforge.net/>Ultimate Packer for eXecutables (UPX)</a>.
|
||||
";
|
||||
page_tail();
|
||||
?>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Berkeley Open Infrastructure for Network Computing
|
||||
// http://boinc.berkeley.edu
|
||||
// Copyright (C) 2005 University of California
|
||||
// Copyright (C) 2006 University of California
|
||||
//
|
||||
// This is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
|
@ -25,8 +25,7 @@
|
|||
/**
|
||||
* Find out if we are on a Windows 2000 compatible system
|
||||
**/
|
||||
EXTERN_C __declspec(dllexport) BOOL IsWindows2000Compatible()
|
||||
{
|
||||
BOOL IsWindows2000Compatible() {
|
||||
OSVERSIONINFO osvi;
|
||||
ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
|
||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
||||
|
@ -45,8 +44,7 @@ EXTERN_C __declspec(dllexport) BOOL IsWindows2000Compatible()
|
|||
* we perform a "lazy" bind to the new product suite
|
||||
* APIs that were first introduced on that platform.
|
||||
**/
|
||||
EXTERN_C __declspec(dllexport) BOOL IsTerminalServicesEnabled()
|
||||
{
|
||||
BOOL IsTerminalServicesEnabled() {
|
||||
BOOL bResult = FALSE; // assume Terminal Services is not enabled
|
||||
|
||||
DWORD dwVersion;
|
||||
|
@ -109,8 +107,7 @@ EXTERN_C __declspec(dllexport) BOOL IsTerminalServicesEnabled()
|
|||
* to the product suite information stored in the registry.
|
||||
* This only works on the Terminal Server 4.0 platform.
|
||||
**/
|
||||
EXTERN_C __declspec(dllexport) BOOL ValidateProductSuite (LPSTR SuiteName)
|
||||
{
|
||||
BOOL ValidateProductSuite (LPSTR SuiteName) {
|
||||
BOOL rVal = FALSE;
|
||||
LONG Rslt;
|
||||
HKEY hKey = NULL;
|
|
@ -19,6 +19,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
EXTERN_C __declspec(dllexport) BOOL IsWindows2000Compatible();
|
||||
EXTERN_C __declspec(dllexport) BOOL IsTerminalServicesEnabled();
|
||||
EXTERN_C __declspec(dllexport) BOOL ValidateProductSuite (LPSTR SuiteName);
|
||||
extern BOOL IsWindows2000Compatible();
|
||||
extern BOOL IsTerminalServicesEnabled();
|
||||
extern BOOL ValidateProductSuite (LPSTR SuiteName);
|
Loading…
Reference in New Issue