从2008迁移到2012年时链接器错误 [英] Linker Errors when Migrating from 2008 to 2012
问题描述
大家好,
我将VC2008迁移到VC2012项目。我得到链接器错误。
uafxcw.lib(afxsound.obj):错误LNK2019:未解析的外部符号__imp__Play
SoundW @ 12在函数void __cdecl AFXSoundThreadProc(void *)中引用(?AFX
SoundThreadProc @@ YAXPAX @ Z)
uafxcw.lib(afxribboninfo2 .obj):错误LNK2001:未解析的外部符号_CLSI
D_DOMDocument60
uafxcw.lib(oledlgs2.obj):错误 LNK2019:未解析的外部符号_OleUIBusyW >
@ 4在函数public:virtual int __thiscall COleBusyDialog :: DoModa
l(void)中引用(?DoModal @ COleBusyDialog @@ UAEHXZ)
../../WIN32/dbqmsi/nt-i386/RELEASE/tdqmsubm.dll:致命错误LNK1120:3 unresol
ved externals
请让我知道我哪里做错了。
谢谢&此致,
Uday。
第一个错误导致以下错误。你以某种方式失去了winmm,lib for Playsound
http://msdn.microsoft.com/en-us/library/windows/desktop/dd743680(v = vs.85).aspx [ ^ ]
Hi All,
I migrated VC2008 to VC2012 Project. I am getting Linker Errors as.
uafxcw.lib(afxsound.obj) : error LNK2019: unresolved external symbol __imp__Play
SoundW@12 referenced in function "void __cdecl AFXSoundThreadProc(void *)" (?AFX
SoundThreadProc@@YAXPAX@Z)
uafxcw.lib(afxribboninfo2.obj) : error LNK2001: unresolved external symbol _CLSI
D_DOMDocument60
uafxcw.lib(oledlgs2.obj) : error LNK2019: unresolved external symbol _OleUIBusyW
@4 referenced in function "public: virtual int __thiscall COleBusyDialog::DoModa
l(void)" (?DoModal@COleBusyDialog@@UAEHXZ)
../../WIN32/dbqmsi/nt-i386/RELEASE/tdqmsubm.dll : fatal error LNK1120: 3 unresol
ved externals
Please let me know where i have done wrong.
Thanks & Regards,
Uday.
the first error leads to the following errors. You somehow lost the winmm,lib for Playsound
http://msdn.microsoft.com/en-us/library/windows/desktop/dd743680(v=vs.85).aspx[^]
这篇关于从2008迁移到2012年时链接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!