摘要:
1 #include "stdafx.h" 2 #include 3 #include 4 #include 5 #pragma comment(lib,"IPHlpApi.lib") 6 using namespace std; 7 8 BOOL GetLocalAdap... 阅读全文
摘要:
void GetPcNameAndIp(CString &strPCName,vector &vIp){ vIp.clear(); WSADATA wsadata; WORD dwVersionRequested; int err = WSAStartup(dwVersionRequeste... 阅读全文
摘要:
1 BOOL NetShare(char * pShareName,char * pSharePath) 2 { 3 USES_CONVERSION; 4 SHARE_INFO_502 si502; 5 NET_API_STATUS nas; 6 ... 阅读全文
摘要:
1 void CreateDir(const string& strPath) 2 { 3 if (PathFileExists(strPath.c_str())) 4 { 5 return; 6 } 7 8 size_t sPrePos = 0... 阅读全文