Hi. I was given a new task to update a project created in VC++ 2003 to VC++ 2005.
I fixed multiple compile errors, but now I receive linking errors which seem a lot harder to figure out. I got a linking error regarding "LIBCP.LIB", but someone else told me to specify that in "Ignore specific library" in options and that message would go away. I was also told that "LIBCMT.LIB" replaces "LIBCP.LIB", but wasn't told if anything needed to be done for that. Anyways, I now receive the following warning and error messages: (this probably is not enough info to solve the problem, but I need to know how to approach this problem - remember I did not write the code, but need to get it to compile in VC++ 2005. Thanks)
Generating Code...
Compiling resources...
Linking...
.\Suite_CCSPic.def : warning LNK4222: exported symbol 'DllCanUnloadNow' should not be assigned an ordinal
.\Suite_CCSPic.def : warning LNK4222: exported symbol 'DllGetClassObject' should not be assigned an ordinal
.\Suite_CCSPic.def : warning LNK4222: exported symbol 'DllRegisterServer' should not be assigned an ordinal
.\Suite_CCSPic.def : warning LNK4222: exported symbol 'DllUnregisterServer' should not be assigned an ordinal
Creating library .\..\..\bin\Release/Suite_
CCSPic.lib
and object .\..\..\bin\Release/Suite_
CCSPic.exp
T_CCSPICcc.obj : error LNK2001: unresolved external symbol "char * __cdecl uxdup(wchar_t const *)" (?uxdup@@YAPADPB_W@Z)
LoggedException.obj : error LNK2019: unresolved external symbol "char * __cdecl uxdup(wchar_t const *)" (?uxdup@@YAPADPB_W@Z) referenced in function "public: __thiscall String816::operator char const *(void)" (??BString816@@QAEPBDXZ)
LSC.obj : error LNK2001: unresolved external symbol "char * __cdecl uxdup(wchar_t const *)" (?uxdup@@YAPADPB_W@Z)
S_CCSPIC.obj : error LNK2001: unresolved external symbol "char * __cdecl uxdup(wchar_t const *)" (?uxdup@@YAPADPB_W@Z)
Suite_CCSPic.obj : error LNK2001: unresolved external symbol "char * __cdecl uxdup(wchar_t const *)" (?uxdup@@YAPADPB_W@Z)
LSC.obj : error LNK2019: unresolved external symbol "wchar_t * __cdecl uxdup(char const *)" (?uxdup@@YAPA_WPBD@Z) referenced in function "public: __thiscall String816::operator wchar_t const *(void)" (??BString816@@QAEPB_WXZ)
S_CCSPIC.obj : error LNK2001: unresolved external symbol "wchar_t * __cdecl uxdup(char const *)" (?uxdup@@YAPA_WPBD@Z)
T_CCSPICcc.obj : error LNK2001: unresolved external symbol "wchar_t * __cdecl uxdup(char const *)" (?uxdup@@YAPA_WPBD@Z)
.\..\..\bin\Release/Suite_
CCSPic.dll
: fatal error LNK1120: 2 unresolved externals