// stdafx.h : 标准系统包含文件的包含文件, // 或是经常使用但不常更改的 // 特定于项目的包含文件 // #pragma once #include "targetver.h" #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的 #ifndef VC_EXTRALEAN #define VC_EXTRALEAN // 从 Windows 头文件中排除极少使用的信息 #endif #include #include // MFC 核心组件和标准组件 #include // MFC 扩展 #ifndef _AFX_NO_OLE_SUPPORT #include // MFC 对 Internet Explorer 4 公共控件的支持 #endif #ifndef _AFX_NO_AFXCMN_SUPPORT #include // MFC 对 Windows 公共控件的支持 #endif // _AFX_NO_AFXCMN_SUPPORT #include // Windows 头文件: #include #include //MFC 临界区 #include // MFC 套接字扩展 // TODO: 在此处引用程序需要的其他头文件 #include "Logger.h" #include "../Public/GlobalDef/CommonTypeDef.h" #include "../Public/GlobalDef/DevLinkInc.h" #include "../Public/GlobalDef/DevInfoInc.h" #define OTL_ODBC //OTL连接方式为ODBC #define OTL_STREAM_READ_ITERATOR_ON //使用OTL迭代器 #define OTL_STL //OTL使用标准库 #include "otlv4.h" #include "OtlDB.h"