摘要: CString CHttpClient::doGet(CString href) { std::string httpsource; CInternetSession session1(NULL,0); CHttpFile* pHTTPFile=NULL; try{ pHTTPFile=(CHttpFile*)session1.OpenURL(href); }catch(CInternetException* m_pException){ //捕捉错误,否则在网络断开时连接导致内存问题 pHTTPFile=NU... 阅读全文
posted @ 2013-11-07 10:33 思维的边疆 阅读(626) 评论(0) 推荐(0) 编辑