摘要: #pragma comment(lib,"ws2_32.lib")#include <Winsock2.h>//将CString 型IP地址在IPAddressCtrl中显示 CString strIP="192.168.0.10"; DWORD dwIP; dwIP = inet_addr(strIP); unsigned char *pIP = (unsigned char*)&dwIP; m_ipAddr.SetAddress(*(pIP+3), *(pIP+2), *(pIP+1), *pIP); //将IPAddressCt 阅读全文
posted @ 2012-09-17 13:45 飞飞O(∩_∩) 阅读(833) 评论(0) 推荐(0) 编辑