窗口程序,httpfile中openUrl错误,弹出在“扩展版本中发生内部错误”

strURL = _T("http://128.83.205.193/filelist_main.html?folder=01/");
htmlFile = (CHttpFile*) httpSession.OpenURL(strURL);
if(htmlFile != NULL)
{
    CString str;
    //while(htmlFile->ReadString((LPTSTR)sRecived,1024) != NULL)    
    while(htmlFile->ReadString(str))
    {
        //strLine = sRecived;
        //strHtml += strLine;
    }
}

依然是没有找到发生错误的原因,但是选用WinHttp类解决了需求。