home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / src / nolib.cpp < prev    next >
C/C++ Source or Header  |  1998-06-16  |  4KB  |  101 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. #include "stdafx.h"
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // global data
  15.  
  16. // The following symbol used to force inclusion of this module
  17. #ifdef _X86_
  18. extern "C" { int _afxForceEXCLUDE; }
  19. #else
  20. extern "C" { int __afxForceEXCLUDE; }
  21. #endif
  22.  
  23. // Win32 library excludes
  24. #ifndef _AFXDLL
  25.     #pragma comment(linker, "/disallowlib:mfc42d.lib")
  26.     #pragma comment(linker, "/disallowlib:mfco42d.lib")
  27.     #pragma comment(linker, "/disallowlib:mfcd42d.lib")
  28.     #pragma comment(linker, "/disallowlib:mfcn42d.lib")
  29.     #pragma comment(linker, "/disallowlib:mfcs42d.lib")
  30.     #pragma comment(linker, "/disallowlib:mfc42.lib")
  31.     #pragma comment(linker, "/disallowlib:mfcs42.lib")
  32.     #pragma comment(linker, "/disallowlib:mfc42ud.lib")
  33.     #pragma comment(linker, "/disallowlib:mfco42ud.lib")
  34.     #pragma comment(linker, "/disallowlib:mfcd42ud.lib")
  35.     #pragma comment(linker, "/disallowlib:mfcn42ud.lib")
  36.     #pragma comment(linker, "/disallowlib:mfcs42ud.lib")
  37.     #pragma comment(linker, "/disallowlib:mfc42u.lib")
  38.     #pragma comment(linker, "/disallowlib:mfcs42u.lib")
  39.     #ifndef _UNICODE
  40.         #pragma comment(linker, "/disallowlib:uafxcwd.lib")
  41.         #pragma comment(linker, "/disallowlib:uafxcw.lib")
  42.         #ifdef _DEBUG
  43.             #pragma comment(linker, "/disallowlib:nafxcw.lib")
  44.         #else
  45.             #pragma comment(linker, "/disallowlib:nafxcwd.lib")
  46.         #endif
  47.     #else
  48.         #pragma comment(linker, "/disallowlib:nafxcwd.lib")
  49.         #pragma comment(linker, "/disallowlib:nafxcw.lib")
  50.         #ifdef _DEBUG
  51.             #pragma comment(linker, "/disallowlib:uafxcw.lib")
  52.         #else
  53.             #pragma comment(linker, "/disallowlib:uafxcwd.lib")
  54.         #endif
  55.     #endif
  56. #else
  57.     #pragma comment(linker, "/disallowlib:nafxcwd.lib")
  58.     #pragma comment(linker, "/disallowlib:nafxcw.lib")
  59.     #pragma comment(linker, "/disallowlib:uafxcwd.lib")
  60.     #pragma comment(linker, "/disallowlib:uafxcw.lib")
  61.     #ifndef _UNICODE
  62.         #pragma comment(linker, "/disallowlib:mfc42ud.lib")
  63.         #pragma comment(linker, "/disallowlib:mfco42ud.lib")
  64.         #pragma comment(linker, "/disallowlib:mfcd42ud.lib")
  65.         #pragma comment(linker, "/disallowlib:mfcn42ud.lib")
  66.         #pragma comment(linker, "/disallowlib:mfcs42ud.lib")
  67.         #pragma comment(linker, "/disallowlib:mfc42u.lib")
  68.         #pragma comment(linker, "/disallowlib:mfcs42u.lib")
  69.         #ifdef _DEBUG
  70.             #pragma comment(linker, "/disallowlib:mfc42.lib")
  71.             #pragma comment(linker, "/disallowlib:mfcs42.lib")
  72.         #else
  73.             #pragma comment(linker, "/disallowlib:mfc42d.lib")
  74.             #pragma comment(linker, "/disallowlib:mfco42d.lib")
  75.             #pragma comment(linker, "/disallowlib:mfcd42d.lib")
  76.             #pragma comment(linker, "/disallowlib:mfcn42d.lib")
  77.             #pragma comment(linker, "/disallowlib:mfcs42d.lib")
  78.         #endif
  79.     #else
  80.         #pragma comment(linker, "/disallowlib:mfc42d.lib")
  81.         #pragma comment(linker, "/disallowlib:mfco42d.lib")
  82.         #pragma comment(linker, "/disallowlib:mfcd42d.lib")
  83.         #pragma comment(linker, "/disallowlib:mfcn42d.lib")
  84.         #pragma comment(linker, "/disallowlib:mfcs42d.lib")
  85.         #pragma comment(linker, "/disallowlib:mfc42.lib")
  86.         #pragma comment(linker, "/disallowlib:mfcs42.lib")
  87.         #ifdef _DEBUG
  88.             #pragma comment(linker, "/disallowlib:mfc42u.lib")
  89.             #pragma comment(linker, "/disallowlib:mfcs42u.lib")
  90.         #else
  91.             #pragma comment(linker, "/disallowlib:mfc42ud.lib")
  92.             #pragma comment(linker, "/disallowlib:mfco42ud.lib")
  93.             #pragma comment(linker, "/disallowlib:mfcd42ud.lib")
  94.             #pragma comment(linker, "/disallowlib:mfcn42ud.lib")
  95.             #pragma comment(linker, "/disallowlib:mfcs42ud.lib")
  96.         #endif
  97.     #endif
  98. #endif
  99.  
  100. /////////////////////////////////////////////////////////////////////////////
  101.