AutoCAD Map 3D Developer

Reply
*zw
Message 1 of 6 (230 Views)

a question about useing oo4o mfc library in my arx application

230 Views, 5 Replies
12-26-2001 12:10 PM
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.
Contributor
gerardog
Posts: 12
Registered: ‎12-26-2001
Message 2 of 6 (230 Views)

Re: a question about useing oo4o mfc library in my arx application

12-26-2001 10:06 PM in reply to: *zw
What are the errors? duplicate definitions of vcrt modules?
*zw
Message 3 of 6 (230 Views)

Re: a question about useing oo4o mfc library in my arx application

12-27-2001 08:59 AM in reply to: *zw
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::smileytongue:reSubclassWindow(void)" (?PreSubclassWindow@CWnd@@UAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::smileytongue:reCreateWindow(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::smileytongue:ostNcDestroy(void)" (?PostNcDestroy@CWnd@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::smileysurprised:nFinalRelease(void)" (?OnFinalRelease@CWnd@@UAEXXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::smileyvery-happy:estroyWindow(void)" (?DestroyWindow@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long
__thiscall CWnd::smileyvery-happy:efWindowProcA(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::smileytongue:reTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CWnd@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::smileysurprised:nToolHitTest(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::smileysurprised:nWndMsg(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::smileysurprised:nCommand(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::smileysurprised:nNotify(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::smileysurprised:nChildNotify(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::smileyfrustrated:etOccDialogInfo(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::smileyfrustrated:ubclassDlgItem(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::smileyvery-happy:oDataExchange(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::smileysurprised:nCmdMsg(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::smileysurprised:nCreateAggregates(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::smileysurprised:nAmbientProperty(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::smileyfrustrated:etWindowTextA(char const *)" (?SetWindowTextA@CWnd@@QAEXPBD@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: int __thiscall
CWnd::smileyfrustrated:etWindowPos(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::smileyvery-happy:ump(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::smileysurprised:perator new(unsigned int)" (??2CObject@@SGPAXI@Z) already defined
in zw.obj
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void __stdcall
CObject::smileysurprised:perator 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::smileyfrustrated:creenToClient(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::smileysurprised:perator=(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::smileyfrustrated:erialize(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::smileysurprised:perator char const *(void)const " (??BCString@@QBEPBDXZ) already
defined in MyDlg.obj
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::smileytongue:reTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CDialog@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::smileysurprised:nCmdMsg(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::smileyfrustrated:etOccDialogInfo(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::smileyvery-happy:oModal(void)" (?DoModal@CDialog@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::smileytongue:reInitDialog(void)" (?PreInitDialog@CDialog@@MAEXXZ)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual void __thiscall
CDialog::smileysurprised:nSetFont(class CFont *)" (?OnSetFont@CDialog@@UAEXPAVCFont@@@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::smileysurprised:nInitDialog(void)" (?OnInitDialog@CDialog@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::smileysurprised:nOK(void)" (?OnOK@CDialog@@MAEXXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::smileysurprised:nCancel(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::smileyvery-happy:rawItem(struct tagDRAWITEMSTRUCT *)"
(?DrawItem@CButton@@UAEXPAUtagDRAWITEMSTRUCT@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "protected: virtual int
__thiscall CButton::smileysurprised:nChildNotify(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::smileytongue:reSubclassWindow(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::smileytongue:reCreateWindow(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::smileytongue:ostNcDestroy(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::smileysurprised:nFinalRelease(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::smileyvery-happy:estroyWindow(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::smileyvery-happy:efWindowProcA(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::smileytongue:reTranslateMessage(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::smileysurprised:nToolHitTest(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::smileysurprised:nWndMsg(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::smileysurprised:nCommand(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::smileysurprised:nNotify(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::smileysurprised:nChildNotify(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::smileyfrustrated:etOccDialogInfo(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::smileyfrustrated:ubclassDlgItem(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::smileyvery-happy:oDataExchange(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::smileysurprised:nCmdMsg(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::smileysurprised:nCreateAggregates(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::smileysurprised:nAmbientProperty(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::smileyfrustrated:etWindowTextA(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::smileyfrustrated:etWindowPos(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::smileyvery-happy:ump(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::smileysurprised:perator 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::smileysurprised:perator 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::smileyfrustrated:creenToClient(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::smileysurprised:perator=(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::smileyfrustrated:erialize(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::smileysurprised:perator 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::smileytongue:reTranslateMessage(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::smileysurprised:nCmdMsg(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::smileyfrustrated:etOccDialogInfo(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::smileyvery-happy:oModal(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::smileytongue:reInitDialog(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::smileysurprised:nSetFont(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::smileysurprised:nInitDialog(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::smileysurprised:nOK(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::smileysurprised:nCancel(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::smileyvery-happy:rawItem(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::smileysurprised:nChildNotify(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.
>
>
>
*zw
Message 4 of 6 (230 Views)

Re: a question about useing oo4o mfc library in my arx application

12-27-2001 09:33 AM in reply to: *zw
: 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::smileytongue:reSubclassWindow(void)" (?PreSubclassWindow@CWnd@@UAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::smileytongue:reCreateWindow(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::smileytongue:ostNcDestroy(void)" (?PostNcDestroy@CWnd@@MAEXXZ) already
defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual void __thiscall
CWnd::smileysurprised:nFinalRelease(void)" (?OnFinalRelease@CWnd@@UAEXXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::smileyvery-happy:estroyWindow(void)" (?DestroyWindow@CWnd@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "protected: virtual long
__thiscall CWnd::smileyvery-happy:efWindowProcA(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::smileytongue:reTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CWnd@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(wincore.obj) : error LNK2005: "public: virtual int __thiscall
CWnd::smileysurprised:nToolHitTest(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::smileysurprised:nWndMsg(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::smileysurprised:nCommand(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::smileysurprised:nNotify(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::smileysurprised:nChildNotify(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::smileyfrustrated:etOccDialogInfo(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::smileyfrustrated:ubclassDlgItem(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::smileyvery-happy:oDataExchange(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::smileysurprised:nCmdMsg(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::smileysurprised:nCreateAggregates(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::smileysurprised:nAmbientProperty(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::smileyfrustrated:etWindowTextA(char const *)" (?SetWindowTextA@CWnd@@QAEXPBD@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(winocc.obj) : error LNK2005: "public: int __thiscall
CWnd::smileyfrustrated:etWindowPos(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::smileyvery-happy:ump(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::smileysurprised:perator new(unsigned int)" (??2CObject@@SGPAXI@Z) already defined
in zw.obj
nafxcwd.lib(afxmem.obj) : error LNK2005: "public: static void __stdcall
CObject::smileysurprised:perator 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::smileyfrustrated:creenToClient(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::smileysurprised:perator=(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::smileyfrustrated:erialize(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::smileysurprised:perator char const *(void)const " (??BCString@@QBEPBDXZ) already
defined in MyDlg.obj
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::smileytongue:reTranslateMessage(struct tagMSG *)"
(?PreTranslateMessage@CDialog@@UAEHPAUtagMSG@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::smileysurprised:nCmdMsg(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::smileyfrustrated:etOccDialogInfo(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::smileyvery-happy:oModal(void)" (?DoModal@CDialog@@UAEHXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::smileytongue:reInitDialog(void)" (?PreInitDialog@CDialog@@MAEXXZ)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual void __thiscall
CDialog::smileysurprised:nSetFont(class CFont *)" (?OnSetFont@CDialog@@UAEXPAVCFont@@@Z)
already defined in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "public: virtual int __thiscall
CDialog::smileysurprised:nInitDialog(void)" (?OnInitDialog@CDialog@@UAEHXZ) already defined
in mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::smileysurprised:nOK(void)" (?OnOK@CDialog@@MAEXXZ) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(dlgcore.obj) : error LNK2005: "protected: virtual void
__thiscall CDialog::smileysurprised:nCancel(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::smileyvery-happy:rawItem(struct tagDRAWITEMSTRUCT *)"
(?DrawItem@CButton@@UAEXPAUtagDRAWITEMSTRUCT@@@Z) already defined in
mfc42.lib(MFC42.DLL)
nafxcwd.lib(winctrl1.obj) : error LNK2005: "protected: virtual int
__thiscall CButton::smileysurprised:nChildNotify(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::smileytongue:reSubclassWindow(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::smileytongue:reCreateWindow(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::smileytongue:ostNcDestroy(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::smileysurprised:nFinalRelease(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::smileyvery-happy:estroyWindow(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::smileyvery-happy:efWindowProcA(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::smileytongue:reTranslateMessage(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::smileysurprised:nToolHitTest(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::smileysurprised:nWndMsg(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::smileysurprised:nCommand(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::smileysurprised:nNotify(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::smileysurprised:nChildNotify(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::smileyfrustrated:etOccDialogInfo(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::smileyfrustrated:ubclassDlgItem(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::smileyvery-happy:oDataExchange(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::smileysurprised:nCmdMsg(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::smileysurprised:nCreateAggregates(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::smileysurprised:nAmbientProperty(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::smileyfrustrated:etWindowTextA(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::smileyfrustrated:etWindowPos(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::smileyvery-happy:ump(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::smileysurprised:perator 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::smileysurprised:perator 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::smileyfrustrated:creenToClient(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::smileysurprised:perator=(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::smileyfrustrated:erialize(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::smileysurprised:perator 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::smileytongue:reTranslateMessage(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::smileysurprised:nCmdMsg(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::smileyfrustrated:etOccDialogInfo(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::smileyvery-happy:oModal(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::smileytongue:reInitDialog(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::smileysurprised:nSetFont(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::smileysurprised:nInitDialog(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::smileysurprised:nOK(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::smileysurprised:nCancel(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::smileyvery-happy:rawItem(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::smileysurprised:nChildNotify(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.
>
>
>
*zw
Message 5 of 6 (230 Views)

Re: a question about useing oo4o mfc library in my arx application

12-27-2001 10:20 AM in reply to: *zw
"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.
New Member
ScotKelly
Posts: 1
Registered: ‎10-20-2005
Message 6 of 6 (230 Views)

Re: a question about useing oo4o mfc library in my arx application

10-20-2005 11:40 AM in reply to: *zw
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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community