需要在stdafx.h加入
#include <afxsock.h> // MFC socket extensions
另外:
在InitInstance()里加
if (!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return FALSE;
}
#include <afxsock.h> // MFC socket extensions
另外:
在InitInstance()里加
if (!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return FALSE;
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货