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 = "

你可能感兴趣的:(文件)