--------------------Configuration: ChatServer - Win32 Debug--------------------
Linking...
ListeningSocket.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CListeningSocket::GetRuntimeClass(void)const " (?GetRuntimeClass@CListeningSocket@@UBEPAUCRuntimeClass@@XZ)
Debug/ChatServer.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.ChatServer.exe - 2 error(s), 0 warning(s)
Linking...
ListeningSocket.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CListeningSocket::GetRuntimeClass(void)const " (?GetRuntimeClass@CListeningSocket@@UBEPAUCRuntimeClass@@XZ)
Debug/ChatServer.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.ChatServer.exe - 2 error(s), 0 warning(s)
解决方案 »
- MFC窗口分割
- Listbox添加的数据看不到。
- 使用Windows Waveform Audio将麦克风的声音实时播放时卡格厉害,如何改进?
- 请问我该如何做才能在COM的类方法参数中传递其他DLL中声明的结构体?
- 从某一个类继承,却不能使用父类的方法!
- 请问用Pro/E或者UG制作出来的3D模型是以*.prt结尾的文件,如何转换成obj文件?
- 求救!!!
- mfc打包问题
- 如何修改ListItem的某Item的第0个subItem的图标和文本?如何刷新
- 在VC++中有类似(VB)“DoEvents”转移控制权的函数吗?
- 禁止IE广告窗口弹出是如何做出的?
- MSComm问题(100分),马上给分.在线等待
在FileView里添加这个lib文件
lib文件,最后打开project->link那页,把文件添加进去,win sock好像要ws2_32.lib 这个文件才能正确连接winsock2的dll
then include that module in all .CPP modules that need access to
objects of this class.If DECLARE_DYNCREATE is included in the class declaration, then IMPLEMENT_DYNCREATE must be included in the class implementation