2楼上:我用那个memfile 时,将read中buffer改成网络上来的数据包,但是在连结时出问题了:
Linking...
strmbasd.lib(wxutil.obj) : error LNK2005: "public: __thiscall CCritSec::CCritSec(void)" (??0CCritSec@@QAE@XZ) already defined in MemStream.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: __thiscall CCritSec::~CCritSec(void)" (??1CCritSec@@QAE@XZ) already defined in MemStream.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: void __thiscall CCritSec::Lock(void)" (?Lock@CCritSec@@QAEXXZ) already defined in MemStream.obj
strmbasd.lib(wxutil.obj) : error LNK2005: "public: void __thiscall CCritSec::Unlock(void)" (?Unlock@CCritSec@@QAEXXZ) already defined in MemStream.obj
LINK : warning LNK4098: defaultlib "LIBCMTD" conflicts with use of other libs; use /NODEFAULTLIB:library
Debug/teststream.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing lin
请问是那里错了啊
那个CCritSec 是base中的,也有问题???
请赐教