求助:一个小问题?先谢过了。
求助:一个小问题?先谢过了。
实在不知道问题出在哪里?testlz32dll1.cpp
Generating Code...
Linking...
msvcrtd.lib(MSVCRTD.dll) : error LNK2005: __setmbcp already defined in LIBCMTD.lib(mbctype.obj)
msvcrtd.lib(MSVCRTD.dll) : warning LNK4006: __setmbcp already defined in LIBCMTD.lib(mbctype.obj); second definition ignored
Creating library Debug/testlz32dll.lib and object Debug/testlz32dll.exp
LINK : warning LNK4098: defaultlib "msvcrtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4049: locally defined symbol ""int __cdecl fnLz32dll(void)" (?fnLz32dll@@YAHXZ)" imported
LINK : warning LNK4049: locally defined symbol ""int nLz32dll" (?nLz32dll@@3HA)" imported
Debug/testlz32dll.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
testlz32dll.exe - 2 error(s), 4 warning(s)