VC读取分析网络文件

#include       //for WinInet

CInternetSession httpSession;
CInternetFile* htmlFile = (CInternetFile*) httpSession.OpenURL(m_url);
CString content;
//CString source;
while (htmlFile->ReadString(content))
{
  m_html += content;
}
htmlFile->Close();
httpSession.Close();
UpdateData(false);


// CDialog::OnOK();

CString urlint;
CString match;
match = "
posted @ 2009-12-14 14:30  傲衣华少  阅读(360)  评论(0编辑  收藏  举报