中间件底层,websocket

stdafx.h 1.5KB

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