home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / include / afxv_dll.h < prev    next >
Text File  |  1998-06-16  |  2KB  |  54 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 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 related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. // special header for _AFXDLL variant.
  12.  
  13. // default AFX_XXX_DATA and AFX_XXX_DATADEF macros for using MFC DLLs
  14.  
  15. #ifndef AFX_CORE_DATA
  16.     #define AFX_CORE_DATA       AFX_DATA_IMPORT
  17.     #define AFX_CORE_DATADEF
  18. #endif
  19.  
  20. #ifndef AFX_OLE_DATA
  21.     #define AFX_OLE_DATA        AFX_DATA_IMPORT
  22.     #define AFX_OLE_DATADEF
  23. #endif
  24.  
  25. #ifndef AFX_DB_DATA
  26.     #define AFX_DB_DATA         AFX_DATA_IMPORT
  27.     #define AFX_DB_DATADEF
  28. #endif
  29.  
  30. #ifndef AFX_NET_DATA
  31.     #define AFX_NET_DATA        AFX_DATA_IMPORT
  32.     #define AFX_NET_DATADEF
  33. #endif
  34.  
  35. // default AFX_EXT_DATA and AFX_EXT_DATADEF macros for using or
  36. //  creating MFC extension DLLs, depending on _AFX_EXT_IMPL
  37. // AFX_EXT_CLASS can be used to import or export entire classes
  38. //  in an extension DLL without the hassle of creating a .DEF file
  39. //  with decorated names.
  40.  
  41. #ifndef AFX_EXT_DATA
  42.     #ifdef _AFXEXT
  43.         #define AFX_EXT_CLASS       AFX_CLASS_EXPORT
  44.         #define AFX_EXT_API         AFX_API_EXPORT
  45.         #define AFX_EXT_DATA        AFX_DATA_EXPORT
  46.         #define AFX_EXT_DATADEF
  47.     #else
  48.         #define AFX_EXT_CLASS       AFX_CLASS_IMPORT
  49.         #define AFX_EXT_API         AFX_API_IMPORT
  50.         #define AFX_EXT_DATA        AFX_DATA_IMPORT
  51.         #define AFX_EXT_DATADEF
  52.     #endif
  53. #endif
  54.