升龙物业 老版本 ocx IPO, 加密狗 转值班电话

stdafx.h 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. #include <afxmt.h> // MFC 临界区类
  16. #ifndef _AFX_NO_OLE_SUPPORT
  17. #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
  18. #endif
  19. #ifndef _AFX_NO_AFXCMN_SUPPORT
  20. #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
  21. #endif // _AFX_NO_AFXCMN_SUPPORT
  22. #include <iostream>
  23. // Windows 头文件:
  24. #include <windows.h>
  25. // TODO: 在此处引用程序需要的其他头文件
  26. #define OTL_ODBC_MSSQL_2008
  27. #define OTL_ODBC //OTL连接方式为ODBC
  28. #define OTL_STREAM_READ_ITERATOR_ON //使用OTL迭代器
  29. #define OTL_STL //OTL使用标准库
  30. #include "otlv4.h"
  31. #define MAX_DB_DATA_BUFFER_LEN 1024 // 数据库字段最大长度
  32. #define WM_OTL_CONN_ESTABLISHED (WM_USER+100) // 连接建立事件