release版本下创建的lib文件,在debug程序中使用出错解决思路

release版本下创建的lib文件,在debug程序中使用出错
如题,错误如下(其中WxwNetTransLib.lib为release版本生成的lib文件):
nafxcwd.lib(afxinl1.obj) : error LNK2005: "public: virtual __thiscall CObject::~CObject(void)" (??1CObject@@UAE@XZ) already defined in WxwNetTransLib.lib(WxwNetTrans.obj)
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "nafxcw.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "libcmt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library

------解决方案--------------------
建议在编写生成lib文件的程序时使用纯c,不要使用MFC库