我把release版本有静态库改成shared dll后,报了大量的错误和警告,如
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Copy(unsigned int)" (?_Copy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAEXI@Z)
 already defined in eutil.lib(esockopt.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: void __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Tidy(bool)" (?_Tidy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAEX_N@Z) alread
y defined in eutil.lib(esockopt.obj)nafxcw.lib(strcore.obj) : error LNK2005: "class CString const & __stdcall AfxGetEmptyString(void)" (?AfxGetEmptyString@@YGABVCString@@XZ) already defined in mfc42.lib(MFC42.DLL)
nafxcw.lib(strcore.obj) : error LNK2005: "public: __thiscall CString::CString(class CString const &)" (??0CString@@QAE@ABV0@@Z) already defined in mfc42.lib(MFC42.DLL)
nafxcw.lib(strcore.obj) : error LNK2005: "public: void __thiscall CString::Empty(void)" (?Empty@CString@@QAEXXZ) already defined in mfc42.lib(MFC42.DLL)
libcmt.lib(crt0dat.obj) : error LNK2005: _exit already defined in msvcrt.lib(MSVCRT.dll)
libcmt.lib(crt0dat.obj) : error LNK2005: __exit already defined in msvcrt.lib(MSVCRT.dll)
libcmt.lib(threadex.obj) : error LNK2005: __beginthreadex already defined in msvcrt.lib(MSVCRT.dll)
libcmt.lib(dosmap.obj) : error LNK2005: __errno already defined in msvcrt.lib(MSVCRT.dll)
libcmt.lib(fflush.obj) : error LNK2005: _fflush already defined in msvcrt.lib(MSVCRT.dll)
eutil.lib(einicnfg.obj) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *,class std::allo
cator<char> const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDABV?$allocator@D@1@@Z) already defined in msvcprt.lib(MSVCP60.dll)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __stricmp already defined in libcmt.lib(stricmp.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __mkdir already defined in libcmt.lib(mkdir.obj)
请大家帮忙解决,多谢了