Mobile CAsyncSocket.create 失败

1 添加 #include   <afxsock.h>

2 在OnInitDialog()中添加

if (!AfxSocketInit())
{
AfxMessageBox(_T("Windows 通信端口初始化失败"));
return FALSE;
}

posted on 2012-05-04 11:35  markygis  阅读(254)  评论(0编辑  收藏  举报