I think you are double linking.. sort of. The old version of the CRT is
being linked in, as is the new one. They are probably being duplicated in
your linker settings. This can happen if you are manually including, say,
the old one, but the new one is implied during linkage unless you
specifically exclude it from the build. Might want to check that avenue out
and see if it gets you anywhere.
hth,
-Dale
Quote:
> I have a solution consiting of about dozen VC++ projects. Projects are
> either console apps or DLLs. No MFC. I tried to move the projects to
> VS.Net2003 to use the latest C++ compiler. But couple of projects are
stuck
> at LNK2005 compile time errors. Here what I have done so far..
> 1. Opened VC6 solution in VS.Net2003 IDE
> 2. Accepted project conversion from VC6 format to VC7.1 No changes are
made
> to any project settings.
> 3. Did a rebuild.
> 4. I get the following errors
> error LNK2005: _tolower already defined in MSVCRTD.lib(MSVCR71D.dll)
> error LNK2005: __CppxcptFilter already defined in
MSVCRTD.lib(MSVCR71D.dll)
Quote:
> error LNK2005: _exit already defined in MSVCRTD.lib(MSVCR71D.dll)
> error LNK2005: _getenv already defined in MSVCRTD.lib(MSVCR71D.dll)
> error LNK2005: __xc_z already defined in MSVCRTD.lib(cinitexe.obj)
> This error list goes on and on..
> What needs to be changed for VC7.1 builds.
> Thanks,
> Naveen