framework.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #ifndef VC_EXTRALEAN
  3. #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  4. #endif
  5. #include "targetver.h"
  6. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
  7. #include <afxwin.h> // MFC core and standard components
  8. #include <afxext.h> // MFC extensions
  9. #ifndef _AFX_NO_OLE_SUPPORT
  10. #include <afxole.h> // MFC OLE classes
  11. #include <afxodlgs.h> // MFC OLE dialog classes
  12. #include <afxdisp.h> // MFC Automation classes
  13. #endif // _AFX_NO_OLE_SUPPORT
  14. #ifndef _AFX_NO_DB_SUPPORT
  15. #include <afxdb.h> // MFC ODBC database classes
  16. #endif // _AFX_NO_DB_SUPPORT
  17. #ifndef _AFX_NO_DAO_SUPPORT
  18. #include <afxdao.h> // MFC DAO database classes
  19. #endif // _AFX_NO_DAO_SUPPORT
  20. #ifndef _AFX_NO_OLE_SUPPORT
  21. #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  22. #endif
  23. #ifndef _AFX_NO_AFXCMN_SUPPORT
  24. #include <afxcmn.h> // MFC support for Windows Common Controls
  25. #endif // _AFX_NO_AFXCMN_SUPPORT