i hv a dll project which contains only some pure c funcitons, the
project goes well in MSVC6, but when i complie it with vc++2005, the
output window told me: can not find libc.lib,
according to articles on internet, i know that single thread CRT
(libc.lib) will not support any longer, so i ignore the libc.lib in
the dll project seting, then i got errors like:
libcmt.lib(tidtable.obj) : error LNK2005: __encoded_null already
defined in MSVCRT.lib(MSVCR80.dll)
so, it seems that libcmt.lib conflict with msvcrt.lib, so there are
must one i nedd to ignore, the project complie well when i ignore
libcmt.lib, but that's not i want: the dll file depend on msvcr90.dll.
so i try ignore msvcrt.lib, i got erros like this:
error LNK2001: unresolved external symbol __imp__printf
wow, it seems no CRT anymore, no msvcrt.lib then no libcmt.lib?
what should i do to build a msvcr80-depend-free dll file with vc+
+2005?
possible?