中间件标准版5.1git,去除基础模块

stdafx.h 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 特定于项目的包含文件
  4. //
  5. #pragma once
  6. #include "targetver.h"
  7. #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息
  8. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  9. #ifndef VC_EXTRALEAN
  10. #define VC_EXTRALEAN // 从 Windows 头文件中排除极少使用的信息
  11. #endif
  12. #include <afx.h>
  13. #include <afxwin.h> // MFC 核心组件和标准组件
  14. #include <afxext.h> // MFC 扩展
  15. #ifndef _AFX_NO_OLE_SUPPORT
  16. #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
  17. #endif
  18. #ifndef _AFX_NO_AFXCMN_SUPPORT
  19. #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
  20. #endif // _AFX_NO_AFXCMN_SUPPORT
  21. #include <iostream>
  22. // Windows 头文件:
  23. #include <windows.h>
  24. #include <afxmt.h> //MFC 临界区
  25. #include <afxsock.h> // MFC 套接字扩展
  26. // TODO: 在此处引用程序需要的其他头文件
  27. #include "Logger.h"
  28. #include "../Public/GlobalDef/CommonTypeDef.h"
  29. #include "../Public/GlobalDef/DevLinkInc.h"
  30. #include "../Public/GlobalDef/DevInfoInc.h"
  31. #define OTL_ODBC //OTL连接方式为ODBC
  32. #define OTL_STREAM_READ_ITERATOR_ON //使用OTL迭代器
  33. #define OTL_STL //OTL使用标准库
  34. #include "otlv4.h"
  35. #include "OtlDB.h"