stdafx.h
上传用户:bxq2008bxq
上传日期:2022-07-18
资源大小:6138k
文件大小:3k
源码类别:

DirextX编程

开发平台:

Visual C++

  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 特定于项目的包含文件
  4. #pragma once
  5. #ifndef _SECURE_ATL
  6. #define _SECURE_ATL 1
  7. #endif
  8. #ifndef VC_EXTRALEAN
  9. #define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
  10. #endif
  11. // 如果您必须使用下列所指定的平台之前的平台,则修改下面的定义。
  12. // 有关不同平台的相应值的最新信息,请参考 MSDN。
  13. #ifndef WINVER // 允许使用特定于 Windows XP 或更高版本的功能。
  14. #define WINVER 0x0501 // 将此值更改为相应的值,以适用于 Windows 的其他版本。
  15. #endif
  16. #ifndef _WIN32_WINNT // 允许使用特定于 Windows XP 或更高版本的功能。
  17. #define _WIN32_WINNT 0x0501 // 将此值更改为相应的值,以适用于 Windows 的其他版本。
  18. #endif
  19. #ifndef _WIN32_WINDOWS // 允许使用特定于 Windows 98 或更高版本的功能。
  20. #define _WIN32_WINDOWS 0x0410 // 将它更改为适合 Windows Me 或更高版本的相应值。
  21. #endif
  22. #ifndef _WIN32_IE // 允许使用特定于 IE 6.0 或更高版本的功能。
  23. #define _WIN32_IE 0x0600 // 将此值更改为相应的值,以适用于 IE 的其他版本。值。
  24. #endif
  25. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  26. // 关闭 MFC 对某些常见但经常可放心忽略的警告消息的隐藏
  27. #define _AFX_ALL_WARNINGS
  28. #include <afxwin.h>         // MFC 核心组件和标准组件
  29. #include <afxext.h>         // MFC 扩展
  30. #include <afxdisp.h>        // MFC 自动化类
  31. #include <dshow.h>  //directshow 头文件
  32. #include "Qedit.h"
  33. #include "mtype.h"
  34. //#pragma comment(lib, "strmbasd.lib")
  35. #pragma comment(lib, "STRMBASE.lib")
  36. //#pragma comment(lib, "winmm.lib")
  37. #ifndef _AFX_NO_OLE_SUPPORT
  38. #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
  39. #endif
  40. #ifndef _AFX_NO_AFXCMN_SUPPORT
  41. #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
  42. #endif // _AFX_NO_AFXCMN_SUPPORT
  43. #include <afxsock.h> // MFC 套接字扩展
  44. #ifdef _UNICODE
  45. #if defined _M_IX86
  46. #pragma comment(linker,"/manifestdependency:"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'"")
  47. #elif defined _M_IA64
  48. #pragma comment(linker,"/manifestdependency:"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'"")
  49. #elif defined _M_X64
  50. #pragma comment(linker,"/manifestdependency:"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'"")
  51. #else
  52. #pragma comment(linker,"/manifestdependency:"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'"")
  53. #endif
  54. #endif