home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / MFC / SRC / STDAFX.H_ / STDAFX.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.5 KB  |  51 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library. 
  2. // Copyright (C) 1992 Microsoft Corporation 
  3. // All rights reserved. 
  4. //  
  5. // This source code is only intended as a supplement to the 
  6. // Microsoft Foundation Classes Reference and Microsoft 
  7. // QuickHelp and/or WinHelp documentation provided with the library. 
  8. // See these sources for detailed information regarding the 
  9. // Microsoft Foundation Classes product. 
  10.  
  11. // STDAFX.H is the header that includes the standard includes that are used
  12. //  for most of the project.  These are compiled into a pre-compiled header
  13.  
  14. #ifdef _AFXDLL
  15. // See comment in ..\include\afxv_dll.h on special AFXAPI_DATA macros
  16. #define AFXAPI_DATA     __based(__segname("_DATA"))
  17. #define _AFXDLL_EXTENSION
  18. #endif
  19.  
  20. #include "afx.h"
  21. #include "plex.h"
  22. #include "afxcoll.h"
  23.  
  24. #ifdef _WINDOWS
  25. // public headers
  26. #include "afxwin.h"
  27. #include "afxdlgs.h"
  28. #include "afxole.h"
  29. #include "afxext.h"
  30. // private headers as well
  31. #include "afxpriv.h"
  32. #include "auxdata.h"
  33. #include "auxvars.h"
  34. #endif
  35.  
  36. #ifdef _AFXDLL
  37. // For the MFCDLL build, non-header data is still 'AFXAPI_DATA'
  38. #undef AFXAPP_DATA
  39. #define AFXAPP_DATA     AFXAPI_DATA
  40. #endif
  41.  
  42.  
  43. // The MFC library MUST be built with WINVER >= 0x030A (the default)
  44. // even when Windows 3.0 is the target. There are no compatability
  45. // issues, rather this is done for source code maintainability.
  46. #ifdef _WINDOWS
  47. #if (WINVER < 0x030a)
  48.     #error The MFC library MUST be built with WINVER >= 0x030A
  49. #endif
  50. #endif
  51.