AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

a question about useing oo4o mfc library in my arx application

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
707 Views, 5 Replies

a question about useing oo4o mfc library in my arx application

I try to use oracle oo4o mfc libray in my objectARX for autodesk map 5
application. but the linker generated a lot of errors. who can tell me how I
can set teh linker options correctly?thanks for any help.
5 REPLIES 5
Message 2 of 6
gerardog
in reply to: Anonymous

What are the errors? duplicate definitions of vcrt modules?
Message 3 of 6
Anonymous
in reply to: Anonymous

the errors are:

nafxcwd.lib(wincore.obj) : error LNK2005: "public: __thiscall
CWnd::CWnd(void)" (??0CWnd@@QAE@XZ) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: static class CWnd *
__stdcall CWnd::FromHandle(struct HWND__ *)"
(?FromHandle@CWnd@@SGPAV1@PAUHWND__@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::PreSubclassWindow(void)" (?PreSubclassWindow@CWnd@@UAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::PreCreateWindow(struct tagCREATESTRUCTA &)"
(?PreCreateWindow@CWnd@@UAEHAAUtagCREATESTRUCTA@@@Z) already defined in
mfc42.lib(MFC42.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 mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual __thiscall
CWnd::~CWnd(void)" (??1CWnd@@UAE@XZ) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual void
__thiscall CWnd::PostNcDestroy(void)" (?PostNcDestroy@CWnd@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::OnFinalRelease(void)" (?OnFinalRelease@CWnd@@UAEXXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::DestroyWindow(void)" (?DestroyWindow@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long
__thiscall CWnd::DefWindowProcA(unsigned int,unsigned int,long)"
(?DefWindowProcA@CWnd@@MAEJIIJ@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long
(__stdcall** __thiscall CWnd::GetSuperWndProcAddr(void))(struct HWND__
*,unsigned int,unsigned int,long)"
(?GetSuperWndProcAddr@CWnd@@MAEPAP6GJPAUHWND__@@IIJ@ZXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CWnd@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::OnToolHitTest(class CPoint,struct tagTOOLINFOA *)const "
(?OnToolHitTest@CWnd@@UBEHVCPoint@@PAUtagTOOLINFOA@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: void __thiscall
CWnd::GetWindowTextA(class CString &)const "
(?GetWindowTextA@CWnd@@QBEXAAVCString@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::WinHelpA(unsigned long,unsigned int)" (?WinHelpA@CWnd@@UAEXKI@Z)
already defined in mfc42.lib(MFC42.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 mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall
CWnd::OnWndMsg(unsigned int,unsigned int,long,long *)"
(?OnWndMsg@CWnd@@MAEHIIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall
CWnd::OnCommand(unsigned int,long)" (?OnCommand@CWnd@@MAEHIJ@Z) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall
CWnd::OnNotify(unsigned int,long,long *)" (?OnNotify@CWnd@@MAEHIJPAJ@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual class CScrollBar
* __thiscall CWnd::GetScrollBarCtrl(int)const "
(?GetScrollBarCtrl@CWnd@@UBEPAVCScrollBar@@H@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::CalcWindowRect(struct tagRECT *,unsigned int)"
(?CalcWindowRect@CWnd@@UAEXPAUtagRECT@@I@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall
CWnd::OnChildNotify(unsigned int,unsigned int,long,long *)"
(?OnChildNotify@CWnd@@MAEHIIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::CheckAutoCenter(void)" (?CheckAutoCenter@CWnd@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::ContinueModal(void)" (?ContinueModal@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::EndModalLoop(int)" (?EndModalLoop@CWnd@@UAEXH@Z) already defined in
mfc42.lib(MFC42.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
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::IsFrameWnd(void)const " (?IsFrameWnd@CWnd@@UBEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: int __thiscall
CWnd::SubclassDlgItem(unsigned int,class CWnd *)"
(?SubclassDlgItem@CWnd@@QAEHIPAV1@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CWnd::GetRuntimeClass(void)const "
(?GetRuntimeClass@CWnd@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "protected: virtual void
__thiscall CWnd::DoDataExchange(class CDataExchange *)"
(?DoDataExchange@CWnd@@MAEXPAVCDataExchange@@@Z) already defined in
MyDlg.obj
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::BeginModalState(void)" (?BeginModalState@CWnd@@UAEXXZ) already defined
in MyDlg.obj
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::EndModalState(void)" (?EndModalState@CWnd@@UAEXXZ) already defined in
MyDlg.obj
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: __thiscall
CStatic::CStatic(void)" (??0CStatic@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: __thiscall
CButton::CButton(void)" (??0CButton@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: __thiscall
CEdit::CEdit(void)" (??0CEdit@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: __thiscall
CScrollBar::CScrollBar(void)" (??0CScrollBar@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall
CCmdTarget::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)"
(?OnCmdMsg@CCmdTarget@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall
CCmdTarget::IsInvokeAllowed(long)" (?IsInvokeAllowed@CCmdTarget@@UAEHJ@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall
CCmdTarget::GetDispatchIID(struct _GUID *)"
(?GetDispatchIID@CCmdTarget@@UAEHPAU_GUID@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual unsigned int
__thiscall CCmdTarget::GetTypeInfoCount(void)"
(?GetTypeInfoCount@CCmdTarget@@UAEIXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual class
CTypeLibCache * __thiscall CCmdTarget::GetTypeLibCache(void)"
(?GetTypeLibCache@CCmdTarget@@UAEPAVCTypeLibCache@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual long __thiscall
CCmdTarget::GetTypeLib(unsigned long,struct ITypeLib * *)"
(?GetTypeLib@CCmdTarget@@UAEJKPAPAUITypeLib@@@Z) already defined in
mfc42.lib(MFC42.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
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct
AFX_EVENTSINKMAP const * __thiscall CCmdTarget::GetEventSinkMap(void)const "
(?GetEventSinkMap@CCmdTarget@@MBEPBUAFX_EVENTSINKMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct
AFX_INTERFACEMAP const * __thiscall CCmdTarget::GetInterfaceMap(void)const "
(?GetInterfaceMap@CCmdTarget@@MBEPBUAFX_INTERFACEMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall
CCmdTarget::OnCreateAggregates(void)"
(?OnCreateAggregates@CCmdTarget@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual struct IUnknown *
__thiscall CCmdTarget::GetInterfaceHook(void const *)"
(?GetInterfaceHook@CCmdTarget@@UAEPAUIUnknown@@PBX@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct
AFX_CONNECTIONMAP const * __thiscall CCmdTarget::GetConnectionMap(void)const
" (?GetConnectionMap@CCmdTarget@@MBEPBUAFX_CONNECTIONMAP@@XZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct
IConnectionPoint * __thiscall CCmdTarget::GetConnectionHook(struct _GUID
const &)"
(?GetConnectionHook@CCmdTarget@@MAEPAUIConnectionPoint@@ABU_GUID@@@Z)
already defined in mfc42.li
b(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual int __thiscall
CCmdTarget::GetExtraConnectionPoints(class CPtrArray *)"
(?GetExtraConnectionPoints@CCmdTarget@@MAEHPAVCPtrArray@@@Z) already defined
in mfc42.lib(MFC42.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
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::OnAmbientProperty(class COleControlSite *,long,struct tagVARIANT *)"
(?OnAmbientProperty@CWnd@@UAEHPAVCOleControlSite@@JPAUtagVARIANT@@@Z)
already defined in mfc42.lib(MF
C42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: class CWnd * __thiscall
CWnd::GetDlgItem(int)const " (?GetDlgItem@CWnd@@QBEPAV1@H@Z) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: void __thiscall
CWnd::SetWindowTextA(char const *)" (?SetWindowTextA@CWnd@@QAEXPBD@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: int __thiscall
CWnd::SetWindowPos(class CWnd const *,int,int,int,int,unsigned int)"
(?SetWindowPos@CWnd@@QAEHPBV1@HHHHI@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl2.obj) : error LNK2005: "struct HINSTANCE__ * __stdcall
AfxGetResourceHandle(void)" (?AfxGetResourceHandle@@YGPAUHINSTANCE__@@XZ)
already defined in zw.obj
nafxcwd.lib(objcore.obj) : error LNK2005: "public: virtual void __thiscall
CObject::AssertValid(void)const " (?AssertValid@CObject@@UBEXXZ) already
defined in MyDlg.obj
nafxcwd.lib(objcore.obj) : error LNK2005: "public: virtual void __thiscall
CObject::Dump(class CDumpContext &)const "
(?Dump@CObject@@UBEXAAVCDumpContext@@@Z) already defined in MyDlg.obj
nafxcwd.lib(afxstate.obj) : error LNK2005: "class AFX_MODULE_STATE *
__stdcall AfxGetModuleState(void)"
(?AfxGetModuleState@@YGPAVAFX_MODULE_STATE@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void * __stdcall
CObject::operator new(unsigned int)" (??2CObject@@SGPAXI@Z) already defined
in zw.obj
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void __stdcall
CObject::operator delete(void *)" (??3CObject@@SGXPAX@Z) already defined in
MyDlg.obj
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void
*)" (??3@YAXPAX@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wingdi.obj) : error LNK2005: "public: void __thiscall
CWnd::ScreenToClient(struct tagRECT *)const "
(?ScreenToClient@CWnd@@QBEXPAUtagRECT@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(strcore.obj) : error LNK2005: "public: __thiscall
CString::~CString(void)" (??1CString@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(strcore.obj) : error LNK2005: "public: __thiscall
CString::CString(char const *)" (??0CString@@QAE@PBD@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(strcore.obj) : error LNK2005: "public: class CString const &
__thiscall CString::operator=(class CString const &)"
(??4CString@@QAEABV0@ABV0@@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(strcore.obj) : error LNK2005: "class CString __stdcall
operator+(class CString const &,class CString const &)"
(??H@YG?AVCString@@ABV0@0@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: virtual void __thiscall
CObject::Serialize(class CArchive &)"
(?Serialize@CObject@@UAEXAAVCArchive@@@Z) already defined in MyDlg.obj
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: __thiscall
CString::CString(void)" (??0CString@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: __thiscall
CString::operator char const *(void)const " (??BCString@@QBEPBDXZ) already
defined in MyDlg.obj
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CDialog@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.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
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual __thiscall
CDialog::~CDialog(void)" (??1CDialog@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual int __thiscall
CDialog::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)"
(?SetOccDialogInfo@CDialog@@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: __thiscall
CDialog::CDialog(unsigned int,class CWnd *)" (??0CDialog@@QAE@IPAVCWnd@@@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::DoModal(void)" (?DoModal@CDialog@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::PreInitDialog(void)" (?PreInitDialog@CDialog@@MAEXXZ)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual void __thiscall
CDialog::OnSetFont(class CFont *)" (?OnSetFont@CDialog@@UAEXPAVCFont@@@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::OnInitDialog(void)" (?OnInitDialog@CDialog@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::OnOK(void)" (?OnOK@CDialog@@MAEXXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::OnCancel(void)" (?OnCancel@CDialog@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::CheckAutoCenter(void)" (?CheckAutoCenter@CDialog@@UAEHXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CDialog::GetRuntimeClass(void)const "
(?GetRuntimeClass@CDialog@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual __thiscall
CStatic::~CStatic(void)" (??1CStatic@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual __thiscall
CButton::~CButton(void)" (??1CButton@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual void __thiscall
CButton::DrawItem(struct tagDRAWITEMSTRUCT *)"
(?DrawItem@CButton@@UAEXPAUtagDRAWITEMSTRUCT@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "protected: virtual int
__thiscall CButton::OnChildNotify(unsigned int,unsigned int,long,long *)"
(?OnChildNotify@CButton@@MAEHIIJPAJ@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual __thiscall
CEdit::~CEdit(void)" (??1CEdit@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual __thiscall
CScrollBar::~CScrollBar(void)" (??1CScrollBar@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CStatic::GetRuntimeClass(void)const "
(?GetRuntimeClass@CStatic@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CButton::GetRuntimeClass(void)const "
(?GetRuntimeClass@CButton@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CEdit::GetRuntimeClass(void)const "
(?GetRuntimeClass@CEdit@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CScrollBar::GetRuntimeClass(void)const "
(?GetRuntimeClass@CScrollBar@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
libcmtd.lib(dbgheap.obj) : error LNK2005: _malloc already defined in
msvcrt.lib(MSVCRT.dll)
libcmtd.lib(dbgheap.obj) : error LNK2005: _free already defined in
msvcrt.lib(MSVCRT.dll)
libcmtd.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in
msvcrt.lib(cinitexe.obj)
libcmtd.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in
msvcrt.lib(cinitexe.obj)
libcmtd.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in
msvcrt.lib(cinitexe.obj)
libcmtd.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in
msvcrt.lib(cinitexe.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __itoa already defined in
libcmtd.lib(xtoa.obj)
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: __thiscall
CWnd::CWnd(void)" (??0CWnd@@QAE@XZ) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: static class CWnd *
__stdcall CWnd::FromHandle(struct HWND__ *)"
(?FromHandle@CWnd@@SGPAV1@PAUHWND__@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::PreSubclassWindow(void)" (?PreSubclassWindow@CWnd@@UAEXXZ) already
defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::PreCreateWindow(struct tagCREATESTRUCTA &)"
(?PreCreateWindow@CWnd@@UAEHAAUtagCREATESTRUCTA@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "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@IPAU
CCreateContext@@@Z) already defined in mfc42.lib(MFC42.DLL); second
definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual __thiscall
CWnd::~CWnd(void)" (??1CWnd@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual void
__thiscall CWnd::PostNcDestroy(void)" (?PostNcDestroy@CWnd@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::OnFinalRelease(void)" (?OnFinalRelease@CWnd@@UAEXXZ) already defined
in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::DestroyWindow(void)" (?DestroyWindow@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual long
__thiscall CWnd::DefWindowProcA(unsigned int,unsigned int,long)"
(?DefWindowProcA@CWnd@@MAEJIIJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual long
(__stdcall** __thiscall CWnd::GetSuperWndProcAddr(void))(struct HWND__
*,unsigned int,unsigned int,long)"
(?GetSuperWndProcAddr@CWnd@@MAEPAP6GJPAUHWND__@@IIJ@ZXZ) already defined i
n mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CWnd@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::OnToolHitTest(class CPoint,struct tagTOOLINFOA *)const "
(?OnToolHitTest@CWnd@@UBEHVCPoint@@PAUtagTOOLINFOA@@@Z) already defined in
mfc42.lib(MFC42.DLL); second defini
tion ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: void __thiscall
CWnd::GetWindowTextA(class CString &)const "
(?GetWindowTextA@CWnd@@QBEXAAVCString@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::WinHelpA(unsigned long,unsigned int)" (?WinHelpA@CWnd@@UAEXKI@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual long
__thiscall CWnd::WindowProc(unsigned int,unsigned int,long)"
(?WindowProc@CWnd@@MAEJIIJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::OnWndMsg(unsigned int,unsigned int,long,long *)"
(?OnWndMsg@CWnd@@MAEHIIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::OnCommand(unsigned int,long)" (?OnCommand@CWnd@@MAEHIJ@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::OnNotify(unsigned int,long,long *)"
(?OnNotify@CWnd@@MAEHIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual class
CScrollBar * __thiscall CWnd::GetScrollBarCtrl(int)const "
(?GetScrollBarCtrl@CWnd@@UBEPAVCScrollBar@@H@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::CalcWindowRect(struct tagRECT *,unsigned int)"
(?CalcWindowRect@CWnd@@UAEXPAUtagRECT@@I@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::OnChildNotify(unsigned int,unsigned int,long,long *)"
(?OnChildNotify@CWnd@@MAEHIIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::CheckAutoCenter(void)" (?CheckAutoCenter@CWnd@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::ContinueModal(void)" (?ContinueModal@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::EndModalLoop(int)" (?EndModalLoop@CWnd@@UAEXH@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)"
(?SetOccDialogInfo@CWnd@@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definitio
n ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::IsFrameWnd(void)const " (?IsFrameWnd@CWnd@@UBEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: int __thiscall
CWnd::SubclassDlgItem(unsigned int,class CWnd *)"
(?SubclassDlgItem@CWnd@@QAEHIPAV1@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CWnd::GetRuntimeClass(void)const "
(?GetRuntimeClass@CWnd@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "protected: virtual void
__thiscall CWnd::DoDataExchange(class CDataExchange *)"
(?DoDataExchange@CWnd@@MAEXPAVCDataExchange@@@Z) already defined in
MyDlg.obj; second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::BeginModalState(void)" (?BeginModalState@CWnd@@UAEXXZ) already defined
in MyDlg.obj; second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::EndModalState(void)" (?EndModalState@CWnd@@UAEXXZ) already defined in
MyDlg.obj; second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: __thiscall
CStatic::CStatic(void)" (??0CStatic@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: __thiscall
CButton::CButton(void)" (??0CButton@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: __thiscall
CEdit::CEdit(void)" (??0CEdit@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: __thiscall
CScrollBar::CScrollBar(void)" (??0CScrollBar@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual int __thiscall
CCmdTarget::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)"
(?OnCmdMsg@CCmdTarget@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined
in mfc42.lib(MFC42.DLL)
; second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual int __thiscall
CCmdTarget::IsInvokeAllowed(long)" (?IsInvokeAllowed@CCmdTarget@@UAEHJ@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual int __thiscall
CCmdTarget::GetDispatchIID(struct _GUID *)"
(?GetDispatchIID@CCmdTarget@@UAEHPAU_GUID@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual unsigned int
__thiscall CCmdTarget::GetTypeInfoCount(void)"
(?GetTypeInfoCount@CCmdTarget@@UAEIXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual class
CTypeLibCache * __thiscall CCmdTarget::GetTypeLibCache(void)"
(?GetTypeLibCache@CCmdTarget@@UAEPAVCTypeLibCache@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignore
d
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual long __thiscall
CCmdTarget::GetTypeLib(unsigned long,struct ITypeLib * *)"
(?GetTypeLib@CCmdTarget@@UAEJKPAPAUITypeLib@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignor
ed
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_DISPMAP const * __thiscall CCmdTarget::GetDispatchMap(void)const "
(?GetDispatchMap@CCmdTarget@@MBEPBUAFX_DISPMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definit
ion ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_EVENTSINKMAP const * __thiscall CCmdTarget::GetEventSinkMap(void)const "
(?GetEventSinkMap@CCmdTarget@@MBEPBUAFX_EVENTSINKMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL); se
cond definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_INTERFACEMAP const * __thiscall CCmdTarget::GetInterfaceMap(void)const "
(?GetInterfaceMap@CCmdTarget@@MBEPBUAFX_INTERFACEMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL); se
cond definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual int __thiscall
CCmdTarget::OnCreateAggregates(void)"
(?OnCreateAggregates@CCmdTarget@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual struct IUnknown
* __thiscall CCmdTarget::GetInterfaceHook(void const *)"
(?GetInterfaceHook@CCmdTarget@@UAEPAUIUnknown@@PBX@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ig
nored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_CONNECTIONMAP const * __thiscall CCmdTarget::GetConnectionMap(void)const
" (?GetConnectionMap@CCmdTarget@@MBEPBUAFX_CONNECTIONMAP@@XZ) already
defined in mfc42.lib(MFC42.DLL)
; second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
IConnectionPoint * __thiscall CCmdTarget::GetConnectionHook(struct _GUID
const &)"
(?GetConnectionHook@CCmdTarget@@MAEPAUIConnectionPoint@@ABU_GUID@@@Z)
already defined in mfc42.
lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual int
__thiscall CCmdTarget::GetExtraConnectionPoints(class CPtrArray *)"
(?GetExtraConnectionPoints@CCmdTarget@@MAEHPAVCPtrArray@@@Z) already defined
in mfc42.lib(MFC42.DLL); second defi
nition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_OLECMDMAP const * __thiscall CCmdTarget::GetCommandMap(void)const "
(?GetCommandMap@CCmdTarget@@MBEPBUAFX_OLECMDMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL); second defin
ition ignored
nafxcwd.lib(winocc.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::OnAmbientProperty(class COleControlSite *,long,struct tagVARIANT *)"
(?OnAmbientProperty@CWnd@@UAEHPAVCOleControlSite@@JPAUtagVARIANT@@@Z)
already defined in mfc42.lib(
MFC42.DLL); second definition ignored
nafxcwd.lib(winocc.obj) : warning LNK4006: "public: class CWnd * __thiscall
CWnd::GetDlgItem(int)const " (?GetDlgItem@CWnd@@QBEPAV1@H@Z) already defined
in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winocc.obj) : warning LNK4006: "public: void __thiscall
CWnd::SetWindowTextA(char const *)" (?SetWindowTextA@CWnd@@QAEXPBD@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winocc.obj) : warning LNK4006: "public: int __thiscall
CWnd::SetWindowPos(class CWnd const *,int,int,int,int,unsigned int)"
(?SetWindowPos@CWnd@@QAEHPBV1@HHHHI@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl2.obj) : warning LNK4006: "struct HINSTANCE__ * __stdcall
AfxGetResourceHandle(void)" (?AfxGetResourceHandle@@YGPAUHINSTANCE__@@XZ)
already defined in zw.obj; second definition ignored
nafxcwd.lib(objcore.obj) : warning LNK4006: "public: virtual void __thiscall
CObject::AssertValid(void)const " (?AssertValid@CObject@@UBEXXZ) already
defined in MyDlg.obj; second definition ignored
nafxcwd.lib(objcore.obj) : warning LNK4006: "public: virtual void __thiscall
CObject::Dump(class CDumpContext &)const "
(?Dump@CObject@@UBEXAAVCDumpContext@@@Z) already defined in MyDlg.obj;
second definition ignored
nafxcwd.lib(afxstate.obj) : warning LNK4006: "class AFX_MODULE_STATE *
__stdcall AfxGetModuleState(void)"
(?AfxGetModuleState@@YGPAVAFX_MODULE_STATE@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "public: static void * __stdcall
CObject::operator new(unsigned int)" (??2CObject@@SGPAXI@Z) already defined
in zw.obj; second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "public: static void __stdcall
CObject::operator delete(void *)" (??3CObject@@SGXPAX@Z) already defined in
MyDlg.obj; second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator
delete(void *)" (??3@YAXPAX@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wingdi.obj) : warning LNK4006: "public: void __thiscall
CWnd::ScreenToClient(struct tagRECT *)const "
(?ScreenToClient@CWnd@@QBEXPAUtagRECT@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(strcore.obj) : warning LNK4006: "public: __thiscall
CString::~CString(void)" (??1CString@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(strcore.obj) : warning LNK4006: "public: __thiscall
CString::CString(char const *)" (??0CString@@QAE@PBD@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(strcore.obj) : warning LNK4006: "public: class CString const &
__thiscall CString::operator=(class CString const &)"
(??4CString@@QAEABV0@ABV0@@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(strcore.obj) : warning LNK4006: "class CString __stdcall
operator+(class CString const &,class CString const &)"
(??H@YG?AVCString@@ABV0@0@Z) already defined in mfc42.lib(MFC42.DLL); second
definition ignored
nafxcwd.lib(afxinl1.obj) : warning LNK4006: "public: virtual void __thiscall
CObject::Serialize(class CArchive &)"
(?Serialize@CObject@@UAEXAAVCArchive@@@Z) already defined in MyDlg.obj;
second definition ignored
nafxcwd.lib(afxinl1.obj) : warning LNK4006: "public: __thiscall
CString::CString(void)" (??0CString@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl1.obj) : warning LNK4006: "public: __thiscall
CString::operator char const *(void)const " (??BCString@@QBEPBDXZ) already
defined in MyDlg.obj; second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CDialog@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)"
(?OnCmdMsg@CDialog@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined in
mfc42.lib(MFC42.DLL); seco
nd definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual __thiscall
CDialog::~CDialog(void)" (??1CDialog@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "protected: virtual int
__thiscall CDialog::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)"
(?SetOccDialogInfo@CDialog@@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined
in mfc42.lib(MFC42.DLL); second def
inition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: __thiscall
CDialog::CDialog(unsigned int,class CWnd *)" (??0CDialog@@QAE@IPAVCWnd@@@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::DoModal(void)" (?DoModal@CDialog@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "protected: virtual void
__thiscall CDialog::PreInitDialog(void)" (?PreInitDialog@CDialog@@MAEXXZ)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual void __thiscall
CDialog::OnSetFont(class CFont *)" (?OnSetFont@CDialog@@UAEXPAVCFont@@@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::OnInitDialog(void)" (?OnInitDialog@CDialog@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "protected: virtual void
__thiscall CDialog::OnOK(void)" (?OnOK@CDialog@@MAEXXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "protected: virtual void
__thiscall CDialog::OnCancel(void)" (?OnCancel@CDialog@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::CheckAutoCenter(void)" (?CheckAutoCenter@CDialog@@UAEHXZ) already
defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CDialog::GetRuntimeClass(void)const "
(?GetRuntimeClass@CDialog@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignor
ed
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual __thiscall
CStatic::~CStatic(void)" (??1CStatic@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual __thiscall
CButton::~CButton(void)" (??1CButton@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual void
__thiscall CButton::DrawItem(struct tagDRAWITEMSTRUCT *)"
(?DrawItem@CButton@@UAEXPAUtagDRAWITEMSTRUCT@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "protected: virtual int
__thiscall CButton::OnChildNotify(unsigned int,unsigned int,long,long *)"
(?OnChildNotify@CButton@@MAEHIIJPAJ@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual __thiscall
CEdit::~CEdit(void)" (??1CEdit@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual __thiscall
CScrollBar::~CScrollBar(void)" (??1CScrollBar@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CStatic::GetRuntimeClass(void)const "
(?GetRuntimeClass@CStatic@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition igno
red
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CButton::GetRuntimeClass(void)const "
(?GetRuntimeClass@CButton@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition igno
red
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CEdit::GetRuntimeClass(void)const "
(?GetRuntimeClass@CEdit@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CScrollBar::GetRuntimeClass(void)const "
(?GetRuntimeClass@CScrollBar@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definitio
n ignored
libcmtd.lib(dbgheap.obj) : warning LNK4006: _malloc already defined in
msvcrt.lib(MSVCRT.dll); second definition ignored
libcmtd.lib(dbgheap.obj) : warning LNK4006: _free already defined in
msvcrt.lib(MSVCRT.dll); second definition ignored
libcmtd.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in
msvcrt.lib(cinitexe.obj); second definition ignored
libcmtd.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in
msvcrt.lib(cinitexe.obj); second definition ignored
libcmtd.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in
msvcrt.lib(cinitexe.obj); second definition ignored
libcmtd.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in
msvcrt.lib(cinitexe.obj); second definition ignored
msvcrt.lib(MSVCRT.dll) : warning LNK4006: __itoa already defined in
libcmtd.lib(xtoa.obj); second definition ignored
Creating library Debug/zw69212zw.lib and object Debug/zw69212zw.exp
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "nafxcwd.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "libcmtd.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
libcmtd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/zw69212zw.arx : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

"zw"
??????:CD58EB6E830EABF0DF64CA3D5BB64A54@in.WebX.maYIadrTaRb...
> I try to use oracle oo4o mfc libray in my objectARX for autodesk map 5
> application. but the linker generated a lot of errors. who can tell me how
I
> can set teh linker options correctly?thanks for any help.
>
>
>
Message 4 of 6
Anonymous
in reply to: Anonymous

: error LNK2005: "public: __thiscall CWnd::CWnd(void)" (??0CWnd@@QAE@XZ)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: static class CWnd *
__stdcall CWnd::FromHandle(struct HWND__ *)"
(?FromHandle@CWnd@@SGPAV1@PAUHWND__@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::PreSubclassWindow(void)" (?PreSubclassWindow@CWnd@@UAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::PreCreateWindow(struct tagCREATESTRUCTA &)"
(?PreCreateWindow@CWnd@@UAEHAAUtagCREATESTRUCTA@@@Z) already defined in
mfc42.lib(MFC42.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 mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual __thiscall
CWnd::~CWnd(void)" (??1CWnd@@UAE@XZ) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual void
__thiscall CWnd::PostNcDestroy(void)" (?PostNcDestroy@CWnd@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::OnFinalRelease(void)" (?OnFinalRelease@CWnd@@UAEXXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::DestroyWindow(void)" (?DestroyWindow@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long
__thiscall CWnd::DefWindowProcA(unsigned int,unsigned int,long)"
(?DefWindowProcA@CWnd@@MAEJIIJ@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long
(__stdcall** __thiscall CWnd::GetSuperWndProcAddr(void))(struct HWND__
*,unsigned int,unsigned int,long)"
(?GetSuperWndProcAddr@CWnd@@MAEPAP6GJPAUHWND__@@IIJ@ZXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CWnd@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::OnToolHitTest(class CPoint,struct tagTOOLINFOA *)const "
(?OnToolHitTest@CWnd@@UBEHVCPoint@@PAUtagTOOLINFOA@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: void __thiscall
CWnd::GetWindowTextA(class CString &)const "
(?GetWindowTextA@CWnd@@QBEXAAVCString@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::WinHelpA(unsigned long,unsigned int)" (?WinHelpA@CWnd@@UAEXKI@Z)
already defined in mfc42.lib(MFC42.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 mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall
CWnd::OnWndMsg(unsigned int,unsigned int,long,long *)"
(?OnWndMsg@CWnd@@MAEHIIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall
CWnd::OnCommand(unsigned int,long)" (?OnCommand@CWnd@@MAEHIJ@Z) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall
CWnd::OnNotify(unsigned int,long,long *)" (?OnNotify@CWnd@@MAEHIJPAJ@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual class CScrollBar
* __thiscall CWnd::GetScrollBarCtrl(int)const "
(?GetScrollBarCtrl@CWnd@@UBEPAVCScrollBar@@H@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::CalcWindowRect(struct tagRECT *,unsigned int)"
(?CalcWindowRect@CWnd@@UAEXPAUtagRECT@@I@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual int __thiscall
CWnd::OnChildNotify(unsigned int,unsigned int,long,long *)"
(?OnChildNotify@CWnd@@MAEHIIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::CheckAutoCenter(void)" (?CheckAutoCenter@CWnd@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::ContinueModal(void)" (?ContinueModal@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::EndModalLoop(int)" (?EndModalLoop@CWnd@@UAEXH@Z) already defined in
mfc42.lib(MFC42.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
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::IsFrameWnd(void)const " (?IsFrameWnd@CWnd@@UBEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: int __thiscall
CWnd::SubclassDlgItem(unsigned int,class CWnd *)"
(?SubclassDlgItem@CWnd@@QAEHIPAV1@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CWnd::GetRuntimeClass(void)const "
(?GetRuntimeClass@CWnd@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "protected: virtual void
__thiscall CWnd::DoDataExchange(class CDataExchange *)"
(?DoDataExchange@CWnd@@MAEXPAVCDataExchange@@@Z) already defined in
MyDlg.obj
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::BeginModalState(void)" (?BeginModalState@CWnd@@UAEXXZ) already defined
in MyDlg.obj
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::EndModalState(void)" (?EndModalState@CWnd@@UAEXXZ) already defined in
MyDlg.obj
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: __thiscall
CStatic::CStatic(void)" (??0CStatic@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: __thiscall
CButton::CButton(void)" (??0CButton@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: __thiscall
CEdit::CEdit(void)" (??0CEdit@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl3.obj) : error LNK2005: "public: __thiscall
CScrollBar::CScrollBar(void)" (??0CScrollBar@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall
CCmdTarget::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)"
(?OnCmdMsg@CCmdTarget@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall
CCmdTarget::IsInvokeAllowed(long)" (?IsInvokeAllowed@CCmdTarget@@UAEHJ@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall
CCmdTarget::GetDispatchIID(struct _GUID *)"
(?GetDispatchIID@CCmdTarget@@UAEHPAU_GUID@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual unsigned int
__thiscall CCmdTarget::GetTypeInfoCount(void)"
(?GetTypeInfoCount@CCmdTarget@@UAEIXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual class
CTypeLibCache * __thiscall CCmdTarget::GetTypeLibCache(void)"
(?GetTypeLibCache@CCmdTarget@@UAEPAVCTypeLibCache@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual long __thiscall
CCmdTarget::GetTypeLib(unsigned long,struct ITypeLib * *)"
(?GetTypeLib@CCmdTarget@@UAEJKPAPAUITypeLib@@@Z) already defined in
mfc42.lib(MFC42.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
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct
AFX_EVENTSINKMAP const * __thiscall CCmdTarget::GetEventSinkMap(void)const "
(?GetEventSinkMap@CCmdTarget@@MBEPBUAFX_EVENTSINKMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct
AFX_INTERFACEMAP const * __thiscall CCmdTarget::GetInterfaceMap(void)const "
(?GetInterfaceMap@CCmdTarget@@MBEPBUAFX_INTERFACEMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual int __thiscall
CCmdTarget::OnCreateAggregates(void)"
(?OnCreateAggregates@CCmdTarget@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "public: virtual struct IUnknown *
__thiscall CCmdTarget::GetInterfaceHook(void const *)"
(?GetInterfaceHook@CCmdTarget@@UAEPAUIUnknown@@PBX@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct
AFX_CONNECTIONMAP const * __thiscall CCmdTarget::GetConnectionMap(void)const
" (?GetConnectionMap@CCmdTarget@@MBEPBUAFX_CONNECTIONMAP@@XZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual struct
IConnectionPoint * __thiscall CCmdTarget::GetConnectionHook(struct _GUID
const &)"
(?GetConnectionHook@CCmdTarget@@MAEPAUIConnectionPoint@@ABU_GUID@@@Z)
already defined in mfc42.li
b(MFC42.DLL)
nafxcwd.lib(cmdtarg.obj) : error LNK2005: "protected: virtual int __thiscall
CCmdTarget::GetExtraConnectionPoints(class CPtrArray *)"
(?GetExtraConnectionPoints@CCmdTarget@@MAEHPAVCPtrArray@@@Z) already defined
in mfc42.lib(MFC42.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
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::OnAmbientProperty(class COleControlSite *,long,struct tagVARIANT *)"
(?OnAmbientProperty@CWnd@@UAEHPAVCOleControlSite@@JPAUtagVARIANT@@@Z)
already defined in mfc42.lib(MF
C42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: class CWnd * __thiscall
CWnd::GetDlgItem(int)const " (?GetDlgItem@CWnd@@QBEPAV1@H@Z) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: void __thiscall
CWnd::SetWindowTextA(char const *)" (?SetWindowTextA@CWnd@@QAEXPBD@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: int __thiscall
CWnd::SetWindowPos(class CWnd const *,int,int,int,int,unsigned int)"
(?SetWindowPos@CWnd@@QAEHPBV1@HHHHI@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl2.obj) : error LNK2005: "struct HINSTANCE__ * __stdcall
AfxGetResourceHandle(void)" (?AfxGetResourceHandle@@YGPAUHINSTANCE__@@XZ)
already defined in zw.obj
nafxcwd.lib(objcore.obj) : error LNK2005: "public: virtual void __thiscall
CObject::AssertValid(void)const " (?AssertValid@CObject@@UBEXXZ) already
defined in MyDlg.obj
nafxcwd.lib(objcore.obj) : error LNK2005: "public: virtual void __thiscall
CObject::Dump(class CDumpContext &)const "
(?Dump@CObject@@UBEXAAVCDumpContext@@@Z) already defined in MyDlg.obj
nafxcwd.lib(afxstate.obj) : error LNK2005: "class AFX_MODULE_STATE *
__stdcall AfxGetModuleState(void)"
(?AfxGetModuleState@@YGPAVAFX_MODULE_STATE@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void * __stdcall
CObject::operator new(unsigned int)" (??2CObject@@SGPAXI@Z) already defined
in zw.obj
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void __stdcall
CObject::operator delete(void *)" (??3CObject@@SGXPAX@Z) already defined in
MyDlg.obj
nafxcwd.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void
*)" (??3@YAXPAX@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wingdi.obj) : error LNK2005: "public: void __thiscall
CWnd::ScreenToClient(struct tagRECT *)const "
(?ScreenToClient@CWnd@@QBEXPAUtagRECT@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(strcore.obj) : error LNK2005: "public: __thiscall
CString::~CString(void)" (??1CString@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(strcore.obj) : error LNK2005: "public: __thiscall
CString::CString(char const *)" (??0CString@@QAE@PBD@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(strcore.obj) : error LNK2005: "public: class CString const &
__thiscall CString::operator=(class CString const &)"
(??4CString@@QAEABV0@ABV0@@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(strcore.obj) : error LNK2005: "class CString __stdcall
operator+(class CString const &,class CString const &)"
(??H@YG?AVCString@@ABV0@0@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: virtual void __thiscall
CObject::Serialize(class CArchive &)"
(?Serialize@CObject@@UAEXAAVCArchive@@@Z) already defined in MyDlg.obj
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: __thiscall
CString::CString(void)" (??0CString@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: __thiscall
CString::operator char const *(void)const " (??BCString@@QBEPBDXZ) already
defined in MyDlg.obj
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CDialog@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.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
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual __thiscall
CDialog::~CDialog(void)" (??1CDialog@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual int __thiscall
CDialog::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)"
(?SetOccDialogInfo@CDialog@@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: __thiscall
CDialog::CDialog(unsigned int,class CWnd *)" (??0CDialog@@QAE@IPAVCWnd@@@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::DoModal(void)" (?DoModal@CDialog@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::PreInitDialog(void)" (?PreInitDialog@CDialog@@MAEXXZ)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual void __thiscall
CDialog::OnSetFont(class CFont *)" (?OnSetFont@CDialog@@UAEXPAVCFont@@@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::OnInitDialog(void)" (?OnInitDialog@CDialog@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::OnOK(void)" (?OnOK@CDialog@@MAEXXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::OnCancel(void)" (?OnCancel@CDialog@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::CheckAutoCenter(void)" (?CheckAutoCenter@CDialog@@UAEHXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CDialog::GetRuntimeClass(void)const "
(?GetRuntimeClass@CDialog@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual __thiscall
CStatic::~CStatic(void)" (??1CStatic@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual __thiscall
CButton::~CButton(void)" (??1CButton@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual void __thiscall
CButton::DrawItem(struct tagDRAWITEMSTRUCT *)"
(?DrawItem@CButton@@UAEXPAUtagDRAWITEMSTRUCT@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "protected: virtual int
__thiscall CButton::OnChildNotify(unsigned int,unsigned int,long,long *)"
(?OnChildNotify@CButton@@MAEHIIJPAJ@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual __thiscall
CEdit::~CEdit(void)" (??1CEdit@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual __thiscall
CScrollBar::~CScrollBar(void)" (??1CScrollBar@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CStatic::GetRuntimeClass(void)const "
(?GetRuntimeClass@CStatic@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CButton::GetRuntimeClass(void)const "
(?GetRuntimeClass@CButton@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CEdit::GetRuntimeClass(void)const "
(?GetRuntimeClass@CEdit@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "public: virtual struct
CRuntimeClass * __thiscall CScrollBar::GetRuntimeClass(void)const "
(?GetRuntimeClass@CScrollBar@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL)
libcmtd.lib(dbgheap.obj) : error LNK2005: _malloc already defined in
msvcrt.lib(MSVCRT.dll)
libcmtd.lib(dbgheap.obj) : error LNK2005: _free already defined in
msvcrt.lib(MSVCRT.dll)
libcmtd.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in
msvcrt.lib(cinitexe.obj)
libcmtd.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in
msvcrt.lib(cinitexe.obj)
libcmtd.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in
msvcrt.lib(cinitexe.obj)
libcmtd.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in
msvcrt.lib(cinitexe.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __itoa already defined in
libcmtd.lib(xtoa.obj)
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: __thiscall
CWnd::CWnd(void)" (??0CWnd@@QAE@XZ) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: static class CWnd *
__stdcall CWnd::FromHandle(struct HWND__ *)"
(?FromHandle@CWnd@@SGPAV1@PAUHWND__@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::PreSubclassWindow(void)" (?PreSubclassWindow@CWnd@@UAEXXZ) already
defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::PreCreateWindow(struct tagCREATESTRUCTA &)"
(?PreCreateWindow@CWnd@@UAEHAAUtagCREATESTRUCTA@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "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@IPAU
CCreateContext@@@Z) already defined in mfc42.lib(MFC42.DLL); second
definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual __thiscall
CWnd::~CWnd(void)" (??1CWnd@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual void
__thiscall CWnd::PostNcDestroy(void)" (?PostNcDestroy@CWnd@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::OnFinalRelease(void)" (?OnFinalRelease@CWnd@@UAEXXZ) already defined
in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::DestroyWindow(void)" (?DestroyWindow@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual long
__thiscall CWnd::DefWindowProcA(unsigned int,unsigned int,long)"
(?DefWindowProcA@CWnd@@MAEJIIJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual long
(__stdcall** __thiscall CWnd::GetSuperWndProcAddr(void))(struct HWND__
*,unsigned int,unsigned int,long)"
(?GetSuperWndProcAddr@CWnd@@MAEPAP6GJPAUHWND__@@IIJ@ZXZ) already defined i
n mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CWnd@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::OnToolHitTest(class CPoint,struct tagTOOLINFOA *)const "
(?OnToolHitTest@CWnd@@UBEHVCPoint@@PAUtagTOOLINFOA@@@Z) already defined in
mfc42.lib(MFC42.DLL); second defini
tion ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: void __thiscall
CWnd::GetWindowTextA(class CString &)const "
(?GetWindowTextA@CWnd@@QBEXAAVCString@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::WinHelpA(unsigned long,unsigned int)" (?WinHelpA@CWnd@@UAEXKI@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual long
__thiscall CWnd::WindowProc(unsigned int,unsigned int,long)"
(?WindowProc@CWnd@@MAEJIIJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::OnWndMsg(unsigned int,unsigned int,long,long *)"
(?OnWndMsg@CWnd@@MAEHIIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::OnCommand(unsigned int,long)" (?OnCommand@CWnd@@MAEHIJ@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::OnNotify(unsigned int,long,long *)"
(?OnNotify@CWnd@@MAEHIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual class
CScrollBar * __thiscall CWnd::GetScrollBarCtrl(int)const "
(?GetScrollBarCtrl@CWnd@@UBEPAVCScrollBar@@H@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::CalcWindowRect(struct tagRECT *,unsigned int)"
(?CalcWindowRect@CWnd@@UAEXPAUtagRECT@@I@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::OnChildNotify(unsigned int,unsigned int,long,long *)"
(?OnChildNotify@CWnd@@MAEHIIJPAJ@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::CheckAutoCenter(void)" (?CheckAutoCenter@CWnd@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::ContinueModal(void)" (?ContinueModal@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::EndModalLoop(int)" (?EndModalLoop@CWnd@@UAEXH@Z) already defined in mf
c42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "protected: virtual int
__thiscall CWnd::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)"
(?SetOccDialogInfo@CWnd@@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definitio
n ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::IsFrameWnd(void)const " (?IsFrameWnd@CWnd@@UBEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: int __thiscall
CWnd::SubclassDlgItem(unsigned int,class CWnd *)"
(?SubclassDlgItem@CWnd@@QAEHIPAV1@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(wincore.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CWnd::GetRuntimeClass(void)const "
(?GetRuntimeClass@CWnd@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "protected: virtual void
__thiscall CWnd::DoDataExchange(class CDataExchange *)"
(?DoDataExchange@CWnd@@MAEXPAVCDataExchange@@@Z) already defined in
MyDlg.obj; second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::BeginModalState(void)" (?BeginModalState@CWnd@@UAEXXZ) already defined
in MyDlg.obj; second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: virtual void __thiscall
CWnd::EndModalState(void)" (?EndModalState@CWnd@@UAEXXZ) already defined in
MyDlg.obj; second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: __thiscall
CStatic::CStatic(void)" (??0CStatic@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: __thiscall
CButton::CButton(void)" (??0CButton@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: __thiscall
CEdit::CEdit(void)" (??0CEdit@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl3.obj) : warning LNK4006: "public: __thiscall
CScrollBar::CScrollBar(void)" (??0CScrollBar@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual int __thiscall
CCmdTarget::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)"
(?OnCmdMsg@CCmdTarget@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined
in mfc42.lib(MFC42.DLL)
; second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual int __thiscall
CCmdTarget::IsInvokeAllowed(long)" (?IsInvokeAllowed@CCmdTarget@@UAEHJ@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual int __thiscall
CCmdTarget::GetDispatchIID(struct _GUID *)"
(?GetDispatchIID@CCmdTarget@@UAEHPAU_GUID@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual unsigned int
__thiscall CCmdTarget::GetTypeInfoCount(void)"
(?GetTypeInfoCount@CCmdTarget@@UAEIXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual class
CTypeLibCache * __thiscall CCmdTarget::GetTypeLibCache(void)"
(?GetTypeLibCache@CCmdTarget@@UAEPAVCTypeLibCache@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignore
d
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual long __thiscall
CCmdTarget::GetTypeLib(unsigned long,struct ITypeLib * *)"
(?GetTypeLib@CCmdTarget@@UAEJKPAPAUITypeLib@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignor
ed
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_DISPMAP const * __thiscall CCmdTarget::GetDispatchMap(void)const "
(?GetDispatchMap@CCmdTarget@@MBEPBUAFX_DISPMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definit
ion ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_EVENTSINKMAP const * __thiscall CCmdTarget::GetEventSinkMap(void)const "
(?GetEventSinkMap@CCmdTarget@@MBEPBUAFX_EVENTSINKMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL); se
cond definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_INTERFACEMAP const * __thiscall CCmdTarget::GetInterfaceMap(void)const "
(?GetInterfaceMap@CCmdTarget@@MBEPBUAFX_INTERFACEMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL); se
cond definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual int __thiscall
CCmdTarget::OnCreateAggregates(void)"
(?OnCreateAggregates@CCmdTarget@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "public: virtual struct IUnknown
* __thiscall CCmdTarget::GetInterfaceHook(void const *)"
(?GetInterfaceHook@CCmdTarget@@UAEPAUIUnknown@@PBX@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ig
nored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_CONNECTIONMAP const * __thiscall CCmdTarget::GetConnectionMap(void)const
" (?GetConnectionMap@CCmdTarget@@MBEPBUAFX_CONNECTIONMAP@@XZ) already
defined in mfc42.lib(MFC42.DLL)
; second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
IConnectionPoint * __thiscall CCmdTarget::GetConnectionHook(struct _GUID
const &)"
(?GetConnectionHook@CCmdTarget@@MAEPAUIConnectionPoint@@ABU_GUID@@@Z)
already defined in mfc42.
lib(MFC42.DLL); second definition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual int
__thiscall CCmdTarget::GetExtraConnectionPoints(class CPtrArray *)"
(?GetExtraConnectionPoints@CCmdTarget@@MAEHPAVCPtrArray@@@Z) already defined
in mfc42.lib(MFC42.DLL); second defi
nition ignored
nafxcwd.lib(cmdtarg.obj) : warning LNK4006: "protected: virtual struct
AFX_OLECMDMAP const * __thiscall CCmdTarget::GetCommandMap(void)const "
(?GetCommandMap@CCmdTarget@@MBEPBUAFX_OLECMDMAP@@XZ) already defined in
mfc42.lib(MFC42.DLL); second defin
ition ignored
nafxcwd.lib(winocc.obj) : warning LNK4006: "public: virtual int __thiscall
CWnd::OnAmbientProperty(class COleControlSite *,long,struct tagVARIANT *)"
(?OnAmbientProperty@CWnd@@UAEHPAVCOleControlSite@@JPAUtagVARIANT@@@Z)
already defined in mfc42.lib(
MFC42.DLL); second definition ignored
nafxcwd.lib(winocc.obj) : warning LNK4006: "public: class CWnd * __thiscall
CWnd::GetDlgItem(int)const " (?GetDlgItem@CWnd@@QBEPAV1@H@Z) already defined
in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winocc.obj) : warning LNK4006: "public: void __thiscall
CWnd::SetWindowTextA(char const *)" (?SetWindowTextA@CWnd@@QAEXPBD@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winocc.obj) : warning LNK4006: "public: int __thiscall
CWnd::SetWindowPos(class CWnd const *,int,int,int,int,unsigned int)"
(?SetWindowPos@CWnd@@QAEHPBV1@HHHHI@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl2.obj) : warning LNK4006: "struct HINSTANCE__ * __stdcall
AfxGetResourceHandle(void)" (?AfxGetResourceHandle@@YGPAUHINSTANCE__@@XZ)
already defined in zw.obj; second definition ignored
nafxcwd.lib(objcore.obj) : warning LNK4006: "public: virtual void __thiscall
CObject::AssertValid(void)const " (?AssertValid@CObject@@UBEXXZ) already
defined in MyDlg.obj; second definition ignored
nafxcwd.lib(objcore.obj) : warning LNK4006: "public: virtual void __thiscall
CObject::Dump(class CDumpContext &)const "
(?Dump@CObject@@UBEXAAVCDumpContext@@@Z) already defined in MyDlg.obj;
second definition ignored
nafxcwd.lib(afxstate.obj) : warning LNK4006: "class AFX_MODULE_STATE *
__stdcall AfxGetModuleState(void)"
(?AfxGetModuleState@@YGPAVAFX_MODULE_STATE@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "public: static void * __stdcall
CObject::operator new(unsigned int)" (??2CObject@@SGPAXI@Z) already defined
in zw.obj; second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "public: static void __stdcall
CObject::operator delete(void *)" (??3CObject@@SGXPAX@Z) already defined in
MyDlg.obj; second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "void * __cdecl operator
new(unsigned int)" (??2@YAPAXI@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator
delete(void *)" (??3@YAXPAX@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(wingdi.obj) : warning LNK4006: "public: void __thiscall
CWnd::ScreenToClient(struct tagRECT *)const "
(?ScreenToClient@CWnd@@QBEXPAUtagRECT@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(strcore.obj) : warning LNK4006: "public: __thiscall
CString::~CString(void)" (??1CString@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(strcore.obj) : warning LNK4006: "public: __thiscall
CString::CString(char const *)" (??0CString@@QAE@PBD@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(strcore.obj) : warning LNK4006: "public: class CString const &
__thiscall CString::operator=(class CString const &)"
(??4CString@@QAEABV0@ABV0@@Z) already defined in mfc42.lib(MFC42.DLL);
second definition ignored
nafxcwd.lib(strcore.obj) : warning LNK4006: "class CString __stdcall
operator+(class CString const &,class CString const &)"
(??H@YG?AVCString@@ABV0@0@Z) already defined in mfc42.lib(MFC42.DLL); second
definition ignored
nafxcwd.lib(afxinl1.obj) : warning LNK4006: "public: virtual void __thiscall
CObject::Serialize(class CArchive &)"
(?Serialize@CObject@@UAEXAAVCArchive@@@Z) already defined in MyDlg.obj;
second definition ignored
nafxcwd.lib(afxinl1.obj) : warning LNK4006: "public: __thiscall
CString::CString(void)" (??0CString@@QAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(afxinl1.obj) : warning LNK4006: "public: __thiscall
CString::operator char const *(void)const " (??BCString@@QBEPBDXZ) already
defined in MyDlg.obj; second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::PreTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CDialog@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::OnCmdMsg(unsigned int,int,void *,struct AFX_CMDHANDLERINFO *)"
(?OnCmdMsg@CDialog@@UAEHIHPAXPAUAFX_CMDHANDLERINFO@@@Z) already defined in
mfc42.lib(MFC42.DLL); seco
nd definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual __thiscall
CDialog::~CDialog(void)" (??1CDialog@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "protected: virtual int
__thiscall CDialog::SetOccDialogInfo(struct _AFX_OCC_DIALOG_INFO *)"
(?SetOccDialogInfo@CDialog@@MAEHPAU_AFX_OCC_DIALOG_INFO@@@Z) already defined
in mfc42.lib(MFC42.DLL); second def
inition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: __thiscall
CDialog::CDialog(unsigned int,class CWnd *)" (??0CDialog@@QAE@IPAVCWnd@@@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::DoModal(void)" (?DoModal@CDialog@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "protected: virtual void
__thiscall CDialog::PreInitDialog(void)" (?PreInitDialog@CDialog@@MAEXXZ)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual void __thiscall
CDialog::OnSetFont(class CFont *)" (?OnSetFont@CDialog@@UAEXPAVCFont@@@Z)
already defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::OnInitDialog(void)" (?OnInitDialog@CDialog@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "protected: virtual void
__thiscall CDialog::OnOK(void)" (?OnOK@CDialog@@MAEXXZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "protected: virtual void
__thiscall CDialog::OnCancel(void)" (?OnCancel@CDialog@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual int __thiscall
CDialog::CheckAutoCenter(void)" (?CheckAutoCenter@CDialog@@UAEHXZ) already
defined in mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(dlgcore.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CDialog::GetRuntimeClass(void)const "
(?GetRuntimeClass@CDialog@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignor
ed
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual __thiscall
CStatic::~CStatic(void)" (??1CStatic@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual __thiscall
CButton::~CButton(void)" (??1CButton@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual void
__thiscall CButton::DrawItem(struct tagDRAWITEMSTRUCT *)"
(?DrawItem@CButton@@UAEXPAUtagDRAWITEMSTRUCT@@@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "protected: virtual int
__thiscall CButton::OnChildNotify(unsigned int,unsigned int,long,long *)"
(?OnChildNotify@CButton@@MAEHIIJPAJ@Z) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual __thiscall
CEdit::~CEdit(void)" (??1CEdit@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual __thiscall
CScrollBar::~CScrollBar(void)" (??1CScrollBar@@UAE@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CStatic::GetRuntimeClass(void)const "
(?GetRuntimeClass@CStatic@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition igno
red
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CButton::GetRuntimeClass(void)const "
(?GetRuntimeClass@CButton@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition igno
red
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CEdit::GetRuntimeClass(void)const "
(?GetRuntimeClass@CEdit@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definition ignored
nafxcwd.lib(winctrl1.obj) : warning LNK4006: "public: virtual struct
CRuntimeClass * __thiscall CScrollBar::GetRuntimeClass(void)const "
(?GetRuntimeClass@CScrollBar@@UBEPAUCRuntimeClass@@XZ) already defined in
mfc42.lib(MFC42.DLL); second definitio
n ignored
libcmtd.lib(dbgheap.obj) : warning LNK4006: _malloc already defined in
msvcrt.lib(MSVCRT.dll); second definition ignored
libcmtd.lib(dbgheap.obj) : warning LNK4006: _free already defined in
msvcrt.lib(MSVCRT.dll); second definition ignored
libcmtd.lib(crt0init.obj) : warning LNK4006: ___xc_z already defined in
msvcrt.lib(cinitexe.obj); second definition ignored
libcmtd.lib(crt0init.obj) : warning LNK4006: ___xc_a already defined in
msvcrt.lib(cinitexe.obj); second definition ignored
libcmtd.lib(crt0init.obj) : warning LNK4006: ___xi_z already defined in
msvcrt.lib(cinitexe.obj); second definition ignored
libcmtd.lib(crt0init.obj) : warning LNK4006: ___xi_a already defined in
msvcrt.lib(cinitexe.obj); second definition ignored
msvcrt.lib(MSVCRT.dll) : warning LNK4006: __itoa already defined in
libcmtd.lib(xtoa.obj); second definition ignored
Creating library Debug/zw69212zw.lib and object Debug/zw69212zw.exp
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "nafxcwd.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "libcmtd.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
libcmtd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main

"zw"
??????:CD58EB6E830EABF0DF64CA3D5BB64A54@in.WebX.maYIadrTaRb...
> I try to use oracle oo4o mfc libray in my objectARX for autodesk map 5
> application. but the linker generated a lot of errors. who can tell me how
I
> can set teh linker options correctly?thanks for any help.
>
>
>
Message 5 of 6
Anonymous
in reply to: Anonymous

"zw"
??????:CD58EB6E830EABF0DF64CA3D5BB64A54@in.WebX.maYIadrTaRb...
> I try to use oracle oo4o mfc libray in my objectARX for autodesk map 5
> application. but the linker generated a lot of errors. who can tell me how
I
> can set teh linker options correctly?thanks for any help.
>
>
>
Oh,I have found the library omfc60.lib was build with "Use mfc in a static
library". so the errors occur.I rebuild the library omfc60.lib with "Use MFC
in a shared dll",then the linking errors disappear.
Message 6 of 6
ScotKelly
in reply to: Anonymous

Thanks for your discussion and more importantly, bothering to post the answer to your own question. This discussion answered my problem quickly. I look forward to the day when Microsoft is able to document their own products.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost