63 lines
1.3 KiB
C
63 lines
1.3 KiB
C
#pragma once
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef VC_EXTRALEAN
|
|
#define VC_EXTRALEAN
|
|
#endif
|
|
|
|
#ifndef WINVER
|
|
#define WINVER 0x0501
|
|
#endif
|
|
|
|
#ifndef _WIN32_WINNT
|
|
#define _WIN32_WINNT 0x0501
|
|
#endif
|
|
|
|
#ifndef _WIN32_WINDOWS
|
|
#define _WIN32_WINDOWS 0x0410
|
|
#endif
|
|
|
|
#ifndef _WIN32_IE
|
|
#define _WIN32_IE 0x0400
|
|
#endif
|
|
|
|
#define _ATL_ATTRIBUTES
|
|
#define _AFX_ALL_WARNINGS
|
|
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//MFC 文件
|
|
#include <AfxWin.h>
|
|
#include <AfxExt.h>
|
|
#include <AfxCmn.h>
|
|
#include <AfxDisp.h>
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
//平台环境
|
|
|
|
#include "..\..\..\服务器组件\游戏服务\GameServiceHead.h"
|
|
|
|
#ifndef _DEBUG
|
|
#ifndef _UNICODE
|
|
#pragma comment (lib,"../../../链接库/Ansi/KernelEngine.lib")
|
|
#else
|
|
#pragma comment (lib,"../../../链接库/Unicode/KernelEngine.lib")
|
|
#endif
|
|
#else
|
|
#ifndef _UNICODE
|
|
#pragma comment (lib,"../../../链接库/Ansi/KernelEngineD.lib")
|
|
#else
|
|
#pragma comment (lib,"../../../链接库/Unicode/KernelEngineD.lib")
|
|
#endif
|
|
#endif
|
|
|
|
//////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
//组件头文件
|
|
#include "..\消息定义\CMD_Sparrow.h"
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|