stdafx.h
来自「Kademlia---第第3代P2P原代码」· C头文件 代码 · 共 55 行
H
55 行
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#define WIN32_LEAN_AND_MEAN
#pragma warning(disable:4200) // nonstandard extension used : zero-sized array in struct/union
#pragma warning(disable:4244) // 'conversion' conversion from 'type1' to 'type2', possible loss of data
#pragma warning(disable:4800) // 'type' : forcing value to bool 'true' or 'false' (performance warning)
// Windows Header Files:
#ifndef WINVER
#define WINVER 0x0400 // 0x0400 == Windows 98 and Windows NT 4.0 (because of '_WIN32_WINDOWS=0x0410')
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400 // 0x0400 == Windows NT 4.0
#endif
#ifndef _WIN32_WINDOWS
#define _WIN32_WINDOWS 0x0410 // 0x0410 == Windows 98
#endif
#ifndef _WIN32_IE
#define _WIN32_IE 0x0400 // 0x0400 == Internet Explorer 4.0 -> Comctl32.dll v4.71
#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 // _AFX_NO_AFXCMN_SUPPORT
#include <winsock2.h>
#define _WINSOCKAPI_
#include <afxsock.h>
#include <afxdhtml.h>
#include <afxmt.h>
//#include <afxdlgs.h>
// TODO: reference additional headers your program requires here
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?