问题描述:
全部提示:
--------------------Configuration: wj - Win32 Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
d:\vc98\mfc\include\afxver_.h(130) : fatal error C1189: #error : Please use the /MD switch for _AFXDLL builds
执行 cl.exe 时出错.
wj.exe - 1 error(s), 0 warning(s)
所写的程序是进行位图的读写,复制粘贴等简单操作的程序
有按照网上查到的,设置了Project Settings -> Link 选项卡和C/C++
error LNK2001: unresolved external symbol "int __stdcall SaveDIB(struct HDIB__ *,class CFile &)" (?SaveDIB@@YGHPAUHDIB__@@AAVCFile@@@Z)
error LNK2001: unresolved external symbol "unsigned long __stdcall DIBHeight(char *)" (?DIBHeight@@YGKPAD@Z)
error LNK2001: unresolved external symbol "unsigned long __stdcall DIBHeight(char *)" (?DIBHeight@@YGKPAD@Z)
error LNK2001: unresolved external symbol "unsigned long __stdcall DIBWidth(char *)" (?DIBWidth@@YGKPAD@Z)
error LNK2001: unresolved external symbol "unsigned long __stdcall DIBWidth(char *)" (?DIBWidth@@YGKPAD@Z)
error LNK2001: unresolved external symbol "int __stdcall PaintDIB(struct HDC__ *,struct tagRECT *,struct HDIB__ *,struct tagRECT *,class CPalette *)" (?PaintDIB@@YGHPAUHDC__@@PAUtagRECT@@PAUHDIB__@@1PAVCPalette@@@Z)
error LNK2001: unresolved external symbol "void * __stdcall CopyHandle(void *)" (?CopyHandle@@YGPAXPAX@Z)