57 lines
1.5 KiB
C
57 lines
1.5 KiB
C
// stdafx.h : 标准系统包含文件的包含文件,
|
|
// 或是常用但不常更改的项目特定的包含文件
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#ifndef VC_EXTRALEAN
|
|
#define VC_EXTRALEAN
|
|
#endif
|
|
|
|
#ifndef WINVER // 指定要求的最低平台是 Windows Vista。
|
|
#define WINVER 0x0600 // 将此值更改为相应的值,以适用于 Windows 的其他版本。
|
|
#endif
|
|
|
|
#ifndef _WIN32_WINNT // 指定要求的最低平台是 Windows Vista。
|
|
#define _WIN32_WINNT 0x0600 // 将此值更改为相应的值,以适用于 Windows 的其他版本。
|
|
#endif
|
|
|
|
#ifndef _WIN32_WINDOWS // 指定要求的最低平台是 Windows 98。
|
|
#define _WIN32_WINDOWS 0x0410 // 将此值更改为适当的值,以适用于 Windows Me 或更高版本。
|
|
#endif
|
|
|
|
#ifndef _WIN32_IE // 指定要求的最低平台是 Internet Explorer 7.0。
|
|
#define _WIN32_IE 0x0700 // 将此值更改为相应的值,以适用于 IE 的其他版本。
|
|
#endif
|
|
|
|
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
|
|
|
|
#define _AFX_ALL_WARNINGS
|
|
|
|
#include <AfxWin.h>
|
|
#include <AfxExt.h>
|
|
#include <AfxDisp.h>
|
|
#include <AfxDtctl.h>
|
|
|
|
#ifndef _AFX_NO_AFXCMN_SUPPORT
|
|
#include <AfxCmn.h>
|
|
#endif
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
//链接代码
|
|
|
|
#ifndef _DEBUG
|
|
#ifndef _UNICODE
|
|
#pragma comment (lib,"../../链接库/Ansi/ServiceCore.lib")
|
|
#else
|
|
#pragma comment (lib,"../../链接库/Unicode/ServiceCore.lib")
|
|
#endif
|
|
#else
|
|
#ifndef _UNICODE
|
|
#pragma comment (lib,"../../链接库/Ansi/ServiceCoreD.lib")
|
|
#else
|
|
#pragma comment (lib,"../../链接库/Unicode/ServiceCoreD.lib")
|
|
#endif
|
|
#endif
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|