Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

150 lines
5.7 KiB

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1997 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. #include "stdafx.h"
  11. /////////////////////////////////////////////////////////////////////////////
  12. // global data
  13. // The following symbol used to force inclusion of this module
  14. #if defined(_X86_) || defined(_MAC)
  15. extern "C" { int _afxForceEXCLUDE; }
  16. #else
  17. extern "C" { int __afxForceEXCLUDE; }
  18. #endif
  19. #ifndef _MAC
  20. // Win32 library excludes
  21. #ifndef _AFXDLL
  22. #pragma comment(linker, "/disallowlib:mfc42d.lib")
  23. #pragma comment(linker, "/disallowlib:mfco42d.lib")
  24. #pragma comment(linker, "/disallowlib:mfcd42d.lib")
  25. #pragma comment(linker, "/disallowlib:mfcn42d.lib")
  26. #pragma comment(linker, "/disallowlib:mfcs42d.lib")
  27. #pragma comment(linker, "/disallowlib:mfc42.lib")
  28. #pragma comment(linker, "/disallowlib:mfcs42.lib")
  29. #pragma comment(linker, "/disallowlib:mfc42ud.lib")
  30. #pragma comment(linker, "/disallowlib:mfco42ud.lib")
  31. #pragma comment(linker, "/disallowlib:mfcd42ud.lib")
  32. #pragma comment(linker, "/disallowlib:mfcn42ud.lib")
  33. #pragma comment(linker, "/disallowlib:mfcs42ud.lib")
  34. #pragma comment(linker, "/disallowlib:mfc42u.lib")
  35. #pragma comment(linker, "/disallowlib:mfcs42u.lib")
  36. #ifndef _UNICODE
  37. #pragma comment(linker, "/disallowlib:uafxcwd.lib")
  38. #pragma comment(linker, "/disallowlib:uafxcw.lib")
  39. #ifdef _DEBUG
  40. #pragma comment(linker, "/disallowlib:nafxcw.lib")
  41. #else
  42. #pragma comment(linker, "/disallowlib:nafxcwd.lib")
  43. #endif
  44. #else
  45. #pragma comment(linker, "/disallowlib:nafxcwd.lib")
  46. #pragma comment(linker, "/disallowlib:nafxcw.lib")
  47. #ifdef _DEBUG
  48. #pragma comment(linker, "/disallowlib:uafxcw.lib")
  49. #else
  50. #pragma comment(linker, "/disallowlib:uafxcwd.lib")
  51. #endif
  52. #endif
  53. #else
  54. #pragma comment(linker, "/disallowlib:nafxcwd.lib")
  55. #pragma comment(linker, "/disallowlib:nafxcw.lib")
  56. #pragma comment(linker, "/disallowlib:uafxcwd.lib")
  57. #pragma comment(linker, "/disallowlib:uafxcw.lib")
  58. #ifndef _UNICODE
  59. #pragma comment(linker, "/disallowlib:mfc42ud.lib")
  60. #pragma comment(linker, "/disallowlib:mfco42ud.lib")
  61. #pragma comment(linker, "/disallowlib:mfcd42ud.lib")
  62. #pragma comment(linker, "/disallowlib:mfcn42ud.lib")
  63. #pragma comment(linker, "/disallowlib:mfcs42ud.lib")
  64. #pragma comment(linker, "/disallowlib:mfc42u.lib")
  65. #pragma comment(linker, "/disallowlib:mfcs42u.lib")
  66. #ifdef _DEBUG
  67. #pragma comment(linker, "/disallowlib:mfc42.lib")
  68. #pragma comment(linker, "/disallowlib:mfcs42.lib")
  69. #else
  70. #pragma comment(linker, "/disallowlib:mfc42d.lib")
  71. #pragma comment(linker, "/disallowlib:mfco42d.lib")
  72. #pragma comment(linker, "/disallowlib:mfcd42d.lib")
  73. #pragma comment(linker, "/disallowlib:mfcn42d.lib")
  74. #pragma comment(linker, "/disallowlib:mfcs42d.lib")
  75. #endif
  76. #else
  77. #pragma comment(linker, "/disallowlib:mfc42d.lib")
  78. #pragma comment(linker, "/disallowlib:mfco42d.lib")
  79. #pragma comment(linker, "/disallowlib:mfcd42d.lib")
  80. #pragma comment(linker, "/disallowlib:mfcn42d.lib")
  81. #pragma comment(linker, "/disallowlib:mfcs42d.lib")
  82. #pragma comment(linker, "/disallowlib:mfc42.lib")
  83. #pragma comment(linker, "/disallowlib:mfcs42.lib")
  84. #ifdef _DEBUG
  85. #pragma comment(linker, "/disallowlib:mfc42u.lib")
  86. #pragma comment(linker, "/disallowlib:mfcs42u.lib")
  87. #else
  88. #pragma comment(linker, "/disallowlib:mfc42ud.lib")
  89. #pragma comment(linker, "/disallowlib:mfco42ud.lib")
  90. #pragma comment(linker, "/disallowlib:mfcd42ud.lib")
  91. #pragma comment(linker, "/disallowlib:mfcn42ud.lib")
  92. #pragma comment(linker, "/disallowlib:mfcs42ud.lib")
  93. #endif
  94. #endif
  95. #endif
  96. #else
  97. // Mac68K library excludes
  98. #ifdef _68K_
  99. #pragma comment(linker, "/disallowlib:libc.lib /disallowlib:sane.lib")
  100. #pragma comment(linker, "/nodefaultlib:libcs.lib /nodefaultlib:sanes.lib")
  101. #ifdef _DEBUG
  102. #pragma comment(linker, "/disallowlib:nafxcm.lib")
  103. #pragma comment(linker, "/nodefaultlib:swap.lib")
  104. #else
  105. #pragma comment(linker, "/disallowlib:nafxcmd.lib")
  106. #endif
  107. #endif
  108. // MacPPC library excludes
  109. #ifdef _MPPC_
  110. #ifndef _AFXDLL
  111. #pragma comment(linker, "/disallowlib:mfc42pd.lib")
  112. #pragma comment(linker, "/disallowlib:mfco42pd.lib")
  113. #pragma comment(linker, "/disallowlib:mfcd42pd.lib")
  114. #pragma comment(linker, "/disallowlib:mfcn42pd.lib")
  115. #pragma comment(linker, "/disallowlib:mfcs42pd.lib")
  116. #pragma comment(linker, "/disallowlib:mfc42p.lib")
  117. #pragma comment(linker, "/disallowlib:mfco42p.lib")
  118. #pragma comment(linker, "/disallowlib:mfcd42p.lib")
  119. #pragma comment(linker, "/disallowlib:mfcn42p.lib")
  120. #pragma comment(linker, "/disallowlib:mfcs42p.lib")
  121. #ifdef _DEBUG
  122. #pragma comment(linker, "/disallowlib:nafxcp.lib")
  123. #else
  124. #pragma comment(linker, "/disallowlib:nafxcpd.lib")
  125. #endif
  126. #else
  127. #pragma comment(linker, "/disallowlib:nafxcpd.lib")
  128. #pragma comment(linker, "/disallowlib:nafxcp.lib")
  129. #ifdef _DEBUG
  130. #pragma comment(linker, "/disallowlib:mfc42p.lib")
  131. #pragma comment(linker, "/disallowlib:mfco42p.lib")
  132. #pragma comment(linker, "/disallowlib:mfcd42p.lib")
  133. #pragma comment(linker, "/disallowlib:mfcn42p.lib")
  134. #pragma comment(linker, "/disallowlib:mfcs42p.lib")
  135. #else
  136. #pragma comment(linker, "/disallowlib:mfc42pd.lib")
  137. #pragma comment(linker, "/disallowlib:mfco42pd.lib")
  138. #pragma comment(linker, "/disallowlib:mfcd42pd.lib")
  139. #pragma comment(linker, "/disallowlib:mfcn42pd.lib")
  140. #pragma comment(linker, "/disallowlib:mfcs42pd.lib")
  141. #endif
  142. #endif
  143. #endif
  144. #endif
  145. /////////////////////////////////////////////////////////////////////////////