EDN Admin
Well-known member
Hi Everyone,
I had an application created in VS 2003 which builds without any errors. Now I opened it in VS 2005 and tried to build, it gives the following linker error...
<font size=1>
1>CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt </font>I am using wx widgets - 2.6
I have a .rc file which includes the line
<font size=2>
1 RT_MANIFEST </font><font color="#a31515" size=2>"wx/msw/wx.manifest".
</font>
If I try to change the Id in the above line as
<font size=2>
2(any other no) RT_MANIFEST </font><font color="#a31515" size=2>"wx/msw/wx.manifest" or try to comment out this line, I get huge no. of linker errors related to wx. Few of them are as below...
<font size=1>
1>TmpFileForCmdLine.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
1>EFModuleSplashScreen.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
1>EFVersionInfo.obj : error LNK2019: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB) referenced in function "public: __thiscall CVersionInfo::CVersionInfo(class wxString &)" (??0CVersionInfo@@QAE@AAVwxString@@@Z)
1>Helper.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
1>ProfilerConfig.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB).
</font></font>
I want to compile and link my application without this error.
Thanx for any help....
View the full article
I had an application created in VS 2003 which builds without any errors. Now I opened it in VS 2005 and tried to build, it gives the following linker error...
<font size=1>
1>CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt </font>I am using wx widgets - 2.6
I have a .rc file which includes the line
<font size=2>
1 RT_MANIFEST </font><font color="#a31515" size=2>"wx/msw/wx.manifest".
</font>
If I try to change the Id in the above line as
<font size=2>
2(any other no) RT_MANIFEST </font><font color="#a31515" size=2>"wx/msw/wx.manifest" or try to comment out this line, I get huge no. of linker errors related to wx. Few of them are as below...
<font size=1>
1>TmpFileForCmdLine.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
1>EFModuleSplashScreen.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
1>EFVersionInfo.obj : error LNK2019: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB) referenced in function "public: __thiscall CVersionInfo::CVersionInfo(class wxString &)" (??0CVersionInfo@@QAE@AAVwxString@@@Z)
1>Helper.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB)
1>ProfilerConfig.obj : error LNK2001: unresolved external symbol "wchar_t const * const wxEmptyString" (?wxEmptyString@@3PB_WB).
</font></font>
I want to compile and link my application without this error.
Thanx for any help....
View the full article