stdafx.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 特定于项目的包含文件
  4. //
  5. #pragma once
  6. #include "targetver.h"
  7. #include <stdio.h>
  8. #include <tchar.h>
  9. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  10. #ifndef VC_EXTRALEAN
  11. #define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
  12. #endif
  13. #include <afx.h>
  14. #include <afxwin.h> // MFC 核心组件和标准组件
  15. #include <afxext.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. #include "WinService.h"
  24. #include "Global.h"
  25. #include "../WxAdoInterface/IWxAdoInterface.h"
  26. #include "../WxAdoInterface/WxAdoImpl.h"
  27. //#include "../lzmalib/LzmaLib.h"
  28. //#include "../lzmalib/Types.h"
  29. #ifdef _DEBUG
  30. #pragma comment(lib,"WxAdoInterface.lib")
  31. //#pragma comment(lib,"../lzmalib/LzmaLib_D.lib")
  32. #else
  33. #pragma comment(lib,"WxAdoInterface.lib")
  34. //#pragma comment(lib,"../lzmalib/LzmaLib.lib")
  35. #endif
  36. //#pragma comment(lib,"../lzmalib/LzmaLib.lib")
  37. extern IWxAdoInterface* g_pAdoPool;
  38. extern BOOL CreatePoolInstance();
  39. extern void FreelyfzodbcLibrary();
  40. // TODO: 在此处引用程序需要的其他头文件