我的Dll使用了ntdll.lib, Psapi.lib用来连接ntdll.dll和Psapi.dll,工程设置中Use run-time Library是Debug Multithreaded,可dll提示:
Linking...
LIBCMTD.lib(strcat.obj) : error LNK2005: _strcpy already defined in ntdll.lib(ntdll.dll)
LIBCMTD.lib(chkstk.obj) : error LNK2005: __chkstk already defined in ntdll.lib(ntdll.dll)
LIBCMTD.lib(strcat.obj) : warning LNK4006: _strcpy already defined in ntdll.lib(ntdll.dll); second definition ignored
LIBCMTD.lib(chkstk.obj) : warning LNK4006: __chkstk already defined in ntdll.lib(ntdll.dll); second definition ignored
   Creating library Debug/ProcessDll.lib and object Debug/ProcessDll.exp
..\Debug\ProcessDll.dll : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.ProcessDll.dll - 3 error(s), 2 warning(s)我将Use run-time Library设为Debug Multithreaded DLL就不会出现上面的错误。Exe的设置是Debug Multithreaded DLL/Multithreaded DLL
开发环境是vc6+sdk 2003.
程序放在别的机器上,若是装了vc60但是没有装sdk 2003的,dll就调用不了,没有vc的Release版本就无法运行.我还有一个dll,Use run-time Library是Debug Multithreaded,Exe的设置是Debug Multithreaded DLL/Multithreaded DLL,那个可以在没有vc的机器上运行.
请问这是怎么回事?如何解决啊?