Erro while building the project
-
Hello friends, I am trying to built in project in Visual Studio 2005. Project is created in MFC(Application project) and Visual studio 2003 by other person. I am getting an error while comping. The error points towards some file
comsuppwd.lib
. I am just putting error names here as follows,error LNK2005: "class _variant_t vtMissing" (?vtMissing@@3V_variant_t@@A) already defined in comsuppwd.lib(comutil.obj) comsuppd.lib
and other is fatal error LNK1169: one or more multiply defined symbols found I searched on net but not able to solve this error. please help me. Thanks in Advance. -
Hello friends, I am trying to built in project in Visual Studio 2005. Project is created in MFC(Application project) and Visual studio 2003 by other person. I am getting an error while comping. The error points towards some file
comsuppwd.lib
. I am just putting error names here as follows,error LNK2005: "class _variant_t vtMissing" (?vtMissing@@3V_variant_t@@A) already defined in comsuppwd.lib(comutil.obj) comsuppd.lib
and other is fatal error LNK1169: one or more multiply defined symbols found I searched on net but not able to solve this error. please help me. Thanks in Advance."Explicit references to comsupp.lib, either from the comment pragma or via the command line, should be changed to now use either comsuppw.lib or comsuppwd.lib, as /Zc:wchar_t is now on by default. comsupp.lib should still be used when compiling with /Zc:wchar_t-." from msdn. try setting "vsproperty->language->Treat wchar_t as Built-in type = No". or specify the lib as above.
-
Hello friends, I am trying to built in project in Visual Studio 2005. Project is created in MFC(Application project) and Visual studio 2003 by other person. I am getting an error while comping. The error points towards some file
comsuppwd.lib
. I am just putting error names here as follows,error LNK2005: "class _variant_t vtMissing" (?vtMissing@@3V_variant_t@@A) already defined in comsuppwd.lib(comutil.obj) comsuppd.lib
and other is fatal error LNK1169: one or more multiply defined symbols found I searched on net but not able to solve this error. please help me. Thanks in Advance.We solved this by Ignoring the library comsuppd.lib/comsuppwd.lib Properties->Linker->Input->Ignore Specific Library Hope it helps you Thanks, Vijay