Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

問一下......

0 views
Skip to first unread message

awei...@bbs.yuntech.edu.tw

unread,
Aug 24, 2004, 3:43:24 AM8/24/04
to
Linking...
nafxcwd.lib(afxinl2.obj) : error LNK2005: "public: __thiscall CRect::CRect(int,int,int,int)" (??0CRect@@QAE@HHHH@Z) already defined in mfc42d.lib(MFC42D.DLL
)
nafxcwd.lib(afxinl2.obj) : error LNK2005: "public: __thiscall CPalette::CPalette(void)" (??0CPalette@@QAE@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl2.obj) : error LNK2005: "public: virtual __thiscall CPalette::~CPalette(void)" (??1CPalette@@UAE@XZ) already defined in mfc42d.lib(MFC42D.
DLL)
nafxcwd.lib(afxinl2.obj) : error LNK2005: "public: int __thiscall CPalette::CreatePalette(struct tagLOGPALETTE *)" (?CreatePalette@CPalette@@QAEHPAUtagLOGPA
LETTE@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl2.obj) : error LNK2005: "public: int __thiscall CDC::GetDeviceCaps(int)const " (?GetDeviceCaps@CDC@@QBEHH@Z) already defined in mfc42d.lib
(MFC42D.DLL)
nafxcwd.lib(afxinl2.obj) : error LNK2005: "public: unsigned int __thiscall CDC::RealizePalette(void)" (?RealizePalette@CDC@@QAEIXZ) already defined in mfc42
d.lib(MFC42D.DLL)
nafxcwd.lib(thrdcore.obj) : error LNK2005: "public: virtual void __thiscall CWinThread::Delete(void)" (?Delete@CWinThread@@UAEXXZ) already defined in mfc42d
.lib(MFC42D.DLL)
nafxcwd.lib(thrdcore.obj) : error LNK2005: "public: virtual int __thiscall CWinThread::IsIdleMessage(struct tagMSG *)" (?IsIdleMessage@CWinThread@@UAEHPAUta
gMSG@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(thrdcore.obj) : error LNK2005: "public: virtual int __thiscall CWinThread::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CWinThrea
d@@UAEHPAUtagMSG@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(thrdcore.obj) : error LNK2005: "public: virtual int __thiscall CWinThread::ProcessMessageFilter(int,struct tagMSG *)" (?ProcessMessageFilter@CWi
nThread@@UAEHHPAUtagMSG@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(thrdcore.obj) : error LNK2005: "public: virtual class CWnd * __thiscall CWinThread::GetMainWnd(void)" (?GetMainWnd@CWinThread@@UAEPAVCWnd@@XZ) a
lready defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(thrdcore.obj) : error LNK2005: "public: virtual int __thiscall CWinThread::PumpMessage(void)" (?PumpMessage@CWinThread@@UAEHXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: virtual void __thiscall CObject::Serialize(class CArchive &)" (?Serialize@CObject@@UAEXAAVCArchive@@@Z) a
lready defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: int __thiscall CArchive::IsStoring(void)const " (?IsStoring@CArchive@@QBEHXZ) already defined in mfc42d.l
ib(MFC42D.DLL)
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: int __thiscall CToolBar::LoadToolBar(unsigned int)" (?LoadToolBar@CToolBar@@QAEHI@Z) already defined in m
fc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void __stdcall CObject::operator delete(void *)" (??3CObject@@SGXPAX@Z) already defined in mfc42d.l
ib(MFC42D.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void * __stdcall CObject::operator new(unsigned int,char const *,int)" (??2CObject@@SGPAXIPBDH@Z) a
lready defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void __stdcall CObject::operator delete(void *,char const *,int)" (??3CObject@@SGXPAXPBDH@Z) alread
y defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(objcore.obj) : error LNK2005: "public: int __thiscall CObject::IsKindOf(struct CRuntimeClass const *)const " (?IsKindOf@CObject@@QBEHPBUCRuntime
Class@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(objcore.obj) : error LNK2005: "void __stdcall AfxAssertValidObject(class CObject const *,char const *,int)" (?AfxAssertValidObject@@YGXPBVCObjec
t@@PBDH@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wingdi.obj) : error LNK2005: "public: class CPalette * __thiscall CDC::SelectPalette(class CPalette *,int)" (?SelectPalette@CDC@@QAEPAVCPalette@
@PAV2@H@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wingdi.obj) : error LNK2005: "public: __thiscall CWindowDC::CWindowDC(class CWnd *)" (??0CWindowDC@@QAE@PAVCWnd@@@Z) already defined in mfc42d.l
ib(MFC42D.DLL)
nafxcwd.lib(wingdi.obj) : error LNK2005: "public: virtual __thiscall CWindowDC::~CWindowDC(void)" (??1CWindowDC@@UAE@XZ) already defined in mfc42d.lib(MFC42
D.DLL)
nafxcwd.lib(wingdi.obj) : error LNK2005: "public: int __thiscall CGdiObject::DeleteObject(void)" (?DeleteObject@CGdiObject@@QAEHXZ) already defined in mfc42
d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall CWnd::PreSubclassWindow(void)" (?PreSubclassWindow@CWnd@@UAEXXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CWnd::PreCreateWindow(struct tagCREATESTRUCTA &)" (?PreCreateWindow@CWnd@@UAEHAAUt
agCREATESTRUCTA@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CWnd::Create(char const *,char const *,unsigned long,struct tagRECT const &,class
CWnd *,unsigned int,struct CCreateContext *)" (?Create@CWnd@@UAEHPBD0KABUtagRECT@@PAV1@IPAUCC
reateContext@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual void __thiscall CWnd::PostNcDestroy(void)" (?PostNcDestroy@CWnd@@MAEXXZ) already defined in mf
c42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall CWnd::OnFinalRelease(void)" (?OnFinalRelease@CWnd@@UAEXXZ) already defined in mfc
42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CWnd::DestroyWindow(void)" (?DestroyWindow@CWnd@@UAEHXZ) already defined in mfc42d
.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long __thiscall CWnd::DefWindowProcA(unsigned int,unsigned int,long)" (?DefWindowProcA@CWnd@@M
AEJIIJ@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long (__stdcall** __thiscall CWnd::GetSuperWndProcAddr(void))(struct HWND__ *,unsigned int,uns
igned int,long)" (?GetSuperWndProcAddr@CWnd@@MAEPAP6GJPAUHWND__@@IIJ@ZXZ) already defined in
mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CWnd::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CWnd@@UAEHPAUtag
MSG@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CWnd::OnToolHitTest(class CPoint,struct tagTOOLINFOA *)const " (?OnToolHitTest@CWn
d@@UBEHVCPoint@@PAUtagTOOLINFOA@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall CWnd::WinHelpA(unsigned long,unsigned int)" (?WinHelpA@CWnd@@UAEXKI@Z) already de
fined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long __thiscall CWnd::WindowProc(unsigned int,unsigned int,long)" (?WindowProc@CWnd@@MAEJIIJ@Z
) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall CWnd::OnWndMsg(unsigned int,unsigned int,long,long *)" (?OnWndMsg@CWnd@@MAEHIIJ
PAJ@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall CWnd::OnCommand(unsigned int,long)" (?OnCommand@CWnd@@MAEHIJ@Z) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall CWnd::OnNotify(unsigned int,long,long *)" (?OnNotify@CWnd@@MAEHIJPAJ@Z) already
defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual class CScrollBar * __thiscall CWnd::GetScrollBarCtrl(int)const " (?GetScrollBarCtrl@CWnd@@UBEPAVC
ScrollBar@@H@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall CWnd::CalcWindowRect(struct tagRECT *,unsigned int)" (?CalcWindowRect@CWnd@@UAEXP
AUtagRECT@@I@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall CWnd::OnChildNotify(unsigned int,unsigned int,long,long *)" (?OnChildNotify@CWn
d@@MAEHIIJPAJ@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CWnd::CheckAutoCenter(void)" (?CheckAutoCenter@CWnd@@UAEHXZ) already defined in mf
c42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CWnd::ContinueModal(void)" (?ContinueModal@CWnd@@UAEHXZ) already defined in mfc42d
.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall CWnd::EndModalLoop(int)" (?EndModalLoop@CWnd@@UAEXH@Z) already defined in mfc42d.
lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall CWnd::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)" (?SetOccDialogInfo@CWnd@
@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CWnd::IsFrameWnd(void)const " (?IsFrameWnd@CWnd@@UBEHXZ) already defined in mfc42d
.lib(MFC42D.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall CFrameWnd::IsFrameWnd(void)const " (?IsFrameWnd@CFrameWnd@@UBEHXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall CCmdTarget::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)" (?OnCmd
Msg@CCmdTarget@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall CCmdTarget::IsInvokeAllowed(long)" (?IsInvokeAllowed@CCmdTarget@@UAEHJ@Z) already
defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall CCmdTarget::GetDispatchIID(struct _GUID *)" (?GetDispatchIID@CCmdTarget@@UAEHPAU_G
UID@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual unsigned int __thiscall CCmdTarget::GetTypeInfoCount(void)" (?GetTypeInfoCount@CCmdTarget@@UAEIXZ
) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual class CTypeLibCache * __thiscall CCmdTarget::GetTypeLibCache(void)" (?GetTypeLibCache@CCmdTarget@
@UAEPAVCTypeLibCache@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual long __thiscall CCmdTarget::GetTypeLib(unsigned long,struct ITypeLib * *)" (?GetTypeLib@CCmdTarge
t@@UAEJKPAPAUITypeLib@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct AFX_DISPMAP const * __thiscall CCmdTarget::GetDispatchMap(void)const " (?GetDispatchMap
@CCmdTarget@@MBEPBUAFX_DISPMAP@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct AFX_EVENTSINKMAP const * __thiscall CCmdTarget::GetEventSinkMap(void)const " (?GetEvent
SinkMap@CCmdTarget@@MBEPBUAFX_EVENTSINKMAP@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct AFX_INTERFACEMAP const * __thiscall CCmdTarget::GetInterfaceMap(void)const " (?GetInter
faceMap@CCmdTarget@@MBEPBUAFX_INTERFACEMAP@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual void __thiscall CCmdTarget::OnFinalRelease(void)" (?OnFinalRelease@CCmdTarget@@UAEXXZ) already de
fined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall CCmdTarget::OnCreateAggregates(void)" (?OnCreateAggregates@CCmdTarget@@UAEHXZ) alr
eady defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual struct IUnknown * __thiscall CCmdTarget::GetInterfaceHook(void const *)" (?GetInterfaceHook@CCmdT
arget@@UAEPAUIUnknown@@PBX@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct AFX_CONNECTIONMAP const * __thiscall CCmdTarget::GetConnectionMap(void)const " (?GetCon
nectionMap@CCmdTarget@@MBEPBUAFX_CONNECTIONMAP@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct IConnectionPoint * __thiscall CCmdTarget::GetConnectionHook(struct _GUID const &)" (?Ge
tConnectionHook@CCmdTarget@@MAEPAUIConnectionPoint@@ABU_GUID@@@Z) already defined in mfc42d.l
ib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual int __thiscall CCmdTarget::GetExtraConnectionPoints(class CPtrArray *)" (?GetExtraConnectionPo
ints@CCmdTarget@@MAEHPAVCPtrArray@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct AFX_OLECMDMAP const * __thiscall CCmdTarget::GetCommandMap(void)const " (?GetCommandMap
@CCmdTarget@@MBEPBUAFX_OLECMDMAP@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: void __thiscall CWnd::UpdateWindow(void)" (?UpdateWindow@CWnd@@QAEXXZ) already defined in mfc42d.lib(MFC4
2D.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "protected: virtual void __thiscall CWnd::DoDataExchange(class CDataExchange *)" (?DoDataExchange@CWnd@@MAEXPAVCDa
taExchange@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: virtual void __thiscall CWnd::BeginModalState(void)" (?BeginModalState@CWnd@@UAEXXZ) already defined in m
fc42d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: virtual void __thiscall CWnd::EndModalState(void)" (?EndModalState@CWnd@@UAEXXZ) already defined in mfc42
d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: virtual int __thiscall CDocument::IsModified(void)" (?IsModified@CDocument@@UAEHXZ) already defined in mf
c42d.lib(MFC42D.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: virtual void __thiscall CDocument::SetModifiedFlag(int)" (?SetModifiedFlag@CDocument@@UAEXH@Z) already de
fined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(app3d.obj) : error LNK2005: "protected: int __thiscall CWinApp::Enable3dControls(void)" (?Enable3dControls@CWinApp@@IAEHXZ) already defined in m
fc42d.lib(MFC42D.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: virtual int __thiscall CWnd::OnAmbientProperty(class COleControlSite *,long,struct tagVARIANT *)" (?OnAmbi
entProperty@CWnd@@UAEHPAVCOleControlSite@@JPAUtagVARIANT@@@Z) already defined in mfc42d.lib(M
FC42D.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: int __thiscall CWnd::ShowWindow(int)" (?ShowWindow@CWnd@@QAEHH@Z) already defined in mfc42d.lib(MFC42D.DLL
)
nafxcwd.lib(bartool.obj) : error LNK2005: "public: __thiscall CToolBar::CToolBar(void)" (??0CToolBar@@QAE@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(bartool.obj) : error LNK2005: "public: virtual __thiscall CToolBar::~CToolBar(void)" (??1CToolBar@@UAE@XZ) already defined in mfc42d.lib(MFC42D.
DLL)
nafxcwd.lib(bartool.obj) : error LNK2005: "public: int __thiscall CToolBar::CreateEx(class CWnd *,unsigned long,unsigned long,class CRect,unsigned int)" (?C
reateEx@CToolBar@@QAEHPAVCWnd@@KKVCRect@@I@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appui1.obj) : error LNK2005: "public: virtual int __thiscall CWinApp::DoMessageBox(char const *,unsigned int,unsigned int)" (?DoMessageBox@CWinA
pp@@UAEHPBDII@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: __thiscall CWinApp::CWinApp(char const *)" (??0CWinApp@@QAE@PBD@Z) already defined in mfc42d.lib(MFC42D.D
LL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual int __thiscall CWinApp::InitApplication(void)" (?InitApplication@CWinApp@@UAEHXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "protected: void __thiscall CWinApp::LoadStdProfileSettings(unsigned int)" (?LoadStdProfileSettings@CWinApp@@IAEXI
@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: void __thiscall CWinApp::ParseCommandLine(class CCommandLineInfo &)" (?ParseCommandLine@CWinApp@@QAEXAAVC
CommandLineInfo@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: __thiscall CCommandLineInfo::CCommandLineInfo(void)" (??0CCommandLineInfo@@QAE@XZ) already defined in mfc
42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual __thiscall CCommandLineInfo::~CCommandLineInfo(void)" (??1CCommandLineInfo@@UAE@XZ) already defin
ed in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual __thiscall CWinApp::~CWinApp(void)" (??1CWinApp@@UAE@XZ) already defined in mfc42d.lib(MFC42D.DLL
)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual int __thiscall CWinApp::ExitInstance(void)" (?ExitInstance@CWinApp@@UAEHXZ) already defined in mf
c42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual int __thiscall CWinApp::Run(void)" (?Run@CWinApp@@UAEHXZ) already defined in mfc42d.lib(MFC42D.DL
L)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual void __thiscall CWinApp::WinHelpA(unsigned long,unsigned int)" (?WinHelpA@CWinApp@@UAEXKI@Z) alre
ady defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual long __thiscall CWinApp::ProcessWndProcException(class CException *,struct tagMSG const *)" (?Pro
cessWndProcException@CWinApp@@UAEJPAVCException@@PBUtagMSG@@@Z) already defined in mfc42d.lib
(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual int __thiscall CWinApp::OnIdle(long)" (?OnIdle@CWinApp@@UAEHJ@Z) already defined in mfc42d.lib(MF
C42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual void __thiscall CWinApp::AssertValid(void)const " (?AssertValid@CWinApp@@UBEXXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual void __thiscall CWinApp::Dump(class CDumpContext &)const " (?Dump@CWinApp@@UBEXAAVCDumpContext@@@
Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(appcore.obj) : error LNK2005: "public: virtual struct CRuntimeClass * __thiscall CWinApp::GetRuntimeClass(void)const " (?GetRuntimeClass@CWinApp
@@UBEPAUCRuntimeClass@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall CDialog::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CDialog@@UAEH
PAUtagMSG@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall CDialog::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)" (?OnCmdMsg
@CDialog@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual __thiscall CDialog::~CDialog(void)" (??1CDialog@@UAE@XZ) already defined in mfc42d.lib(MFC42D.DLL
)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual int __thiscall CDialog::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)" (?SetOccDialogInfo@CD
ialog@@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: __thiscall CDialog::CDialog(unsigned int,class CWnd *)" (??0CDialog@@QAE@IPAVCWnd@@@Z) already defined in
mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall CDialog::DoModal(void)" (?DoModal@CDialog@@UAEHXZ) already defined in mfc42d.lib(M
FC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void __thiscall CDialog::PreInitDialog(void)" (?PreInitDialog@CDialog@@MAEXXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual void __thiscall CDialog::OnSetFont(class CFont *)" (?OnSetFont@CDialog@@UAEXPAVCFont@@@Z) already
defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall CDialog::OnInitDialog(void)" (?OnInitDialog@CDialog@@UAEHXZ) already defined in mf
c42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void __thiscall CDialog::OnOK(void)" (?OnOK@CDialog@@MAEXXZ) already defined in mfc42d.lib(MFC
42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void __thiscall CDialog::OnCancel(void)" (?OnCancel@CDialog@@MAEXXZ) already defined in mfc42d
.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall CDialog::CheckAutoCenter(void)" (?CheckAutoCenter@CDialog@@UAEHXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual void __thiscall CDialog::AssertValid(void)const " (?AssertValid@CDialog@@UBEXXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual void __thiscall CDialog::Dump(class CDumpContext &)const " (?Dump@CDialog@@UBEXAAVCDumpContext@@@
Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual struct CRuntimeClass * __thiscall CDialog::GetRuntimeClass(void)const " (?GetRuntimeClass@CDialog
@@UBEPAUCRuntimeClass@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "protected: __thiscall CView::CView(void)" (??0CView@@IAE@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual __thiscall CView::~CView(void)" (??1CView@@UAE@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "protected: virtual int __thiscall CView::PreCreateWindow(struct tagCREATESTRUCTA &)" (?PreCreateWindow@CView@@MA
EHAAUtagCREATESTRUCTA@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "protected: virtual void __thiscall CView::PostNcDestroy(void)" (?PostNcDestroy@CView@@MAEXXZ) already defined in
mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual void __thiscall CView::CalcWindowRect(struct tagRECT *,unsigned int)" (?CalcWindowRect@CView@@UA
EXPAUtagRECT@@I@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual int __thiscall CView::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)" (?OnCmdMsg@
CView@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual void __thiscall CView::OnInitialUpdate(void)" (?OnInitialUpdate@CView@@UAEXXZ) already defined i
n mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "protected: virtual void __thiscall CView::OnUpdate(class CView *,long,class CObject *)" (?OnUpdate@CView@@MAEXPA
V1@JPAVCObject@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "protected: virtual void __thiscall CView::OnPrint(class CDC *,struct CPrintInfo *)" (?OnPrint@CView@@MAEXPAVCDC@
@PAUCPrintInfo@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual int __thiscall CView::IsSelected(class CObject const *)const " (?IsSelected@CView@@UBEHPBVCObjec
t@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "protected: virtual void __thiscall CView::OnActivateView(int,class CView *,class CView *)" (?OnActivateView@CVie
w@@MAEXHPAV1@0@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "protected: virtual void __thiscall CView::OnActivateFrame(unsigned int,class CFrameWnd *)" (?OnActivateFrame@CVi
ew@@MAEXIPAVCFrameWnd@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual int __thiscall CView::OnScroll(unsigned int,unsigned int,int)" (?OnScroll@CView@@UAEHIIH@Z) alre
ady defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual int __thiscall CView::OnScrollBy(class CSize,int)" (?OnScrollBy@CView@@UAEHVCSize@@H@Z) already
defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual unsigned long __thiscall CView::OnDragScroll(unsigned long,class CPoint)" (?OnDragScroll@CView@@
UAEKKVCPoint@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual unsigned long __thiscall CView::OnDragEnter(class COleDataObject *,unsigned long,class CPoint)"
(?OnDragEnter@CView@@UAEKPAVCOleDataObject@@KVCPoint@@@Z) already defined in mfc42d.lib(MFC42
D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual unsigned long __thiscall CView::OnDragOver(class COleDataObject *,unsigned long,class CPoint)" (
?OnDragOver@CView@@UAEKPAVCOleDataObject@@KVCPoint@@@Z) already defined in mfc42d.lib(MFC42D.
DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual int __thiscall CView::OnDrop(class COleDataObject *,unsigned long,class CPoint)" (?OnDrop@CView@
@UAEHPAVCOleDataObject@@KVCPoint@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual unsigned long __thiscall CView::OnDropEx(class COleDataObject *,unsigned long,unsigned long,clas
s CPoint)" (?OnDropEx@CView@@UAEKPAVCOleDataObject@@KKVCPoint@@@Z) already defined in mfc42d.
lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual void __thiscall CView::OnDragLeave(void)" (?OnDragLeave@CView@@UAEXXZ) already defined in mfc42d
.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual class CScrollBar * __thiscall CView::GetScrollBarCtrl(int)const " (?GetScrollBarCtrl@CView@@UBEP
AVCScrollBar@@H@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual void __thiscall CView::OnPrepareDC(class CDC *,struct CPrintInfo *)" (?OnPrepareDC@CView@@UAEXPA
VCDC@@PAUCPrintInfo@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "protected: virtual void __thiscall CView::OnEndPrintPreview(class CDC *,struct CPrintInfo *,struct tagPOINT,clas
s CPreviewView *)" (?OnEndPrintPreview@CView@@MAEXPAVCDC@@PAUCPrintInfo@@UtagPOINT@@PAVCPrevi
ewView@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual void __thiscall CView::Dump(class CDumpContext &)const " (?Dump@CView@@UBEXAAVCDumpContext@@@Z)
already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(viewcore.obj) : error LNK2005: "public: virtual void __thiscall CView::AssertValid(void)const " (?AssertValid@CView@@UBEXXZ) already defined in
mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: __thiscall CFrameWnd::CFrameWnd(void)" (??0CFrameWnd@@QAE@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual __thiscall CFrameWnd::~CFrameWnd(void)" (??1CFrameWnd@@UAE@XZ) already defined in mfc42d.lib(MFC42
D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual struct HACCEL__ * __thiscall CFrameWnd::GetDefaultAccelerator(void)" (?GetDefaultAccelerator@CFram
eWnd@@UAEPAUHACCEL__@@XZ) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual int __thiscall CFrameWnd::PreTranslateMessage(struct tagMSG *)" (?PreTranslateMessage@CFrameWnd@@U
AEHPAUtagMSG@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "protected: virtual void __thiscall CFrameWnd::PostNcDestroy(void)" (?PostNcDestroy@CFrameWnd@@MAEXXZ) already defi
ned in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual void __thiscall CFrameWnd::ExitHelpMode(void)" (?ExitHelpMode@CFrameWnd@@UAEXXZ) already defined i
n mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "protected: virtual int __thiscall CFrameWnd::OnCommand(unsigned int,long)" (?OnCommand@CFrameWnd@@MAEHIJ@Z) alread
y defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual void __thiscall CFrameWnd::BeginModalState(void)" (?BeginModalState@CFrameWnd@@UAEXXZ) already def
ined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual void __thiscall CFrameWnd::EndModalState(void)" (?EndModalState@CFrameWnd@@UAEXXZ) already defined
in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "protected: virtual int __thiscall CFrameWnd::PreCreateWindow(struct tagCREATESTRUCTA &)" (?PreCreateWindow@CFrameW
nd@@MAEHAAUtagCREATESTRUCTA@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "protected: virtual int __thiscall CFrameWnd::OnCreateClient(struct tagCREATESTRUCTA *,struct CCreateContext *)" (?
OnCreateClient@CFrameWnd@@MAEHPAUtagCREATESTRUCTA@@PAUCCreateContext@@@Z) already defined in
mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "protected: int __thiscall CFrameWnd::OnCreate(struct tagCREATESTRUCTA *)" (?OnCreate@CFrameWnd@@IAEHPAUtagCREATEST
RUCTA@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual int __thiscall CFrameWnd::LoadFrame(unsigned int,unsigned long,class CWnd *,struct CCreateContext
*)" (?LoadFrame@CFrameWnd@@UAEHIKPAVCWnd@@PAUCCreateContext@@@Z) already defined in mfc42d.li
b(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual void __thiscall CFrameWnd::OnUpdateFrameMenu(struct HMENU__ *)" (?OnUpdateFrameMenu@CFrameWnd@@UAE
XPAUHMENU__@@@Z) already defined in mfc42d.lib(MFC42D.DLL)
nafxcwd.lib(winfrm.obj) : error LNK2005: "public: virtual int __thiscall CFrameWnd::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)" (?OnCmdMs
g@CFrameWnd@@UAE

請問一下這是什麼錯誤阿

compile沒有錯誤 可是在Build的時候就出現這些錯誤

我是有連接兩個lib檔 是連接的問題嗎?

--
鳥清脆的歌聲, 日子越來越不快樂。有一天, 樵夫坐在門外,望著金黃的夕陽, 想著
金鳥到底有多美?此時, 銀鳥的傷康復, 準備離去。銀鳥飛到樵夫的身旁,最後一次
唱歌給樵夫聽,樵夫聽完, 只是很感慨的說︰「你的歌聲雖然好聽,但是比不上金鳥;
你的羽毛雖然很漂亮,但是比不上金鳥的美麗。」銀鳥唱完歌, 在樵夫身旁繞了三圈告
別, 向金黃的夕陽飛去。樵夫望著銀鳥,突然發現銀鳥在夕陽的照射下,變成了美麗的
金鳥;夢寐以求的金鳥, 就在那裡, 只是, 金鳥已經飛走了, 飛得遠遠的,再也不會
--
[m※ Origin: 雲林科技大學藍天使 <bbs.yuntech.edu.tw> [From: 140.116.178.156]

0 new messages