| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // pch.h: 这是预编译标头文件。
- // 下方列出的文件仅编译一次,提高了将来生成的生成性能。
- // 这还将影响 IntelliSense 性能,包括代码完成和许多代码浏览功能。
- // 但是,如果此处列出的文件中的任何一个在生成之间有更新,它们全部都将被重新编译。
- // 请勿在此处添加要频繁更新的文件,这将使得性能优势无效。
- #ifndef PCH_H
- #define PCH_H
- // 添加要在此处预编译的标头
- #include <SDKDDKVer.h>
- #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息
- #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
- #ifndef VC_EXTRALEAN
- #define VC_EXTRALEAN // 从 Windows 头文件中排除极少使用的信息
- #endif
- #include <afx.h>
- #include <afxwin.h> // MFC 核心组件和标准组件
- #include <afxext.h> // MFC 扩展
- #include <afxsock.h> // MFC 套接字扩展
- #ifndef _AFX_NO_OLE_SUPPORT
- #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
- #endif
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
- #endif // _AFX_NO_AFXCMN_SUPPORT
- #define HEART_TIMER 1000 // 心跳检测定时器标识
- // TODO: 在此处引用程序需要的其他头文件
- #include <windows.h>
- #include <iostream>
- #include "Logger.h"
- #include "PduLinkInc.h"
- #include "CommonTypeDef.h"
- #include "IDingDing.h"
- #pragma comment(lib,"DingDing.lib")
- #endif //PCH_H
|