中间件底层,websocket

stdafx.h 1.5KB

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