GME  13
Forcelib.h
Go to the documentation of this file.
00001 #ifndef _AFX_NOFORCE_LIBS
00002 
00004 // Win32 libraries
00005 
00006 #ifndef _AFXDLL
00007         #ifndef _UNICODE
00008                 #ifdef _DEBUG
00009                         #pragma comment(lib, "nafxcwd.lib")
00010                 #else
00011                         #pragma comment(lib, "nafxcw.lib")
00012                 #endif
00013         #else
00014                 #ifdef _DEBUG
00015                         #pragma comment(lib, "uafxcwd.lib")
00016                 #else
00017                         #pragma comment(lib, "uafxcw.lib")
00018                 #endif
00019         #endif
00020 #else
00021         #ifndef _UNICODE
00022                 #ifdef _DEBUG
00023                         #pragma comment(lib, "mfc" _MFC_FILENAME_VER "d.lib")
00024                         #pragma comment(lib, "mfcs" _MFC_FILENAME_VER "d.lib")
00025                 #else
00026                         #pragma comment(lib, "mfc" _MFC_FILENAME_VER ".lib")
00027                         #pragma comment(lib, "mfcs" _MFC_FILENAME_VER ".lib")
00028                 #endif
00029         #else
00030                 #ifdef _DEBUG
00031                         #pragma comment(lib, "mfc" _MFC_FILENAME_VER "ud.lib")
00032                         #pragma comment(lib, "mfcs" _MFC_FILENAME_VER "ud.lib")
00033                 #else
00034                         #pragma comment(lib, "mfc" _MFC_FILENAME_VER "u.lib")
00035                         #pragma comment(lib, "mfcs" _MFC_FILENAME_VER "u.lib")
00036                 #endif
00037         #endif
00038 #endif
00039 
00040 #ifdef _DLL
00041         #if !defined(_AFX_NO_DEBUG_CRT) && defined(_DEBUG)
00042                 #pragma comment(lib, "msvcrtd.lib")
00043         #else
00044                 #pragma comment(lib, "msvcrt.lib")
00045         #endif
00046 #else
00047 #ifdef _MT
00048         #if !defined(_AFX_NO_DEBUG_CRT) && defined(_DEBUG)
00049                 #pragma comment(lib, "libcmtd.lib")
00050         #else
00051                 #pragma comment(lib, "libcmt.lib")
00052         #endif
00053 #else
00054         #if !defined(_AFX_NO_DEBUG_CRT) && defined(_DEBUG)
00055                 #pragma comment(lib, "libcd.lib")
00056         #else
00057                 #pragma comment(lib, "libc.lib")
00058         #endif
00059 #endif
00060 #endif
00061 
00062 #pragma comment(lib, "kernel32.lib")
00063 #pragma comment(lib, "user32.lib")
00064 #pragma comment(lib, "gdi32.lib")
00065 #pragma comment(lib, "msimg32.lib")
00066 #pragma comment(lib, "comdlg32.lib")
00067 #pragma comment(lib, "winspool.lib")
00068 #pragma comment(lib, "advapi32.lib")
00069 #pragma comment(lib, "shell32.lib")
00070 #pragma comment(lib, "comctl32.lib")
00071 #pragma comment(lib, "shlwapi.lib")
00072 
00073 // force inclusion of NOLIB.OBJ for /disallowlib directives
00074 #pragma comment(linker, "/include:__afxForceEXCLUDE")
00075 
00076 // force inclusion of DLLMODUL.OBJ for _USRDLL
00077 #ifdef _USRDLL
00078 #pragma comment(linker, "/include:__afxForceUSRDLL")
00079 #endif
00080 
00081 // force inclusion of STDAFX.OBJ for precompiled types
00082 #ifdef _AFXDLL
00083 #pragma comment(linker, "/include:__afxForceSTDAFX")
00084 #endif
00085 
00086 #endif //!_AFX_NOFORCE_LIBS