i used the function:
  CInternetSession internetSession;
CHttpConnection* pHttpConnection = NULL;
CHttpFile* pHttpFile = NULL;
CString strServer, strObject;
DWORD dwServiceType = 0;
DWORD dwHttpRequestFlags = INTERNET_FLAG_EXISTING_CONNECT | INTERNET_FLAG_NO_AUTO_REDIRECT;
TCHAR szHeaders[] = _T("Accept: text/*\r\nUser-Agent: LCD's Sample Http Client\r\n");
INTERNET_PORT nPort;
int nRet = 0;
try//异常捕捉
{
nRet = AfxParseURL( (LPCTSTR)sURL, dwServiceType, strServer, strObject, nPort );
if( !nRet || dwServiceType != INTERNET_SERVICE_HTTP )
{
fileContent.Empty();
return ;
}
pHttpConnection = internetSession.GetHttpConnection( strServer, nPort );
pHttpFile = pHttpConnection->OpenRequest( CHttpConnection::HTTP_VERB_GET, strObject, NULL, 1, NULL, NULL, dwHttpRequestFlags);
if(!pHttpFile->AddRequestHeaders( szHeaders ))
{
     fileContent.Empty();
//异常捕捉
return ;
}
   if(!pHttpFile->SendRequest())
{
fileContent.Empty();
return ;
}   DWORD dwRet = 0; pHttpFile->QueryInfoStatusCode( dwRet ); if( dwRet == HTTP_STATUS_DENIED )
{
fileContent.Empty();

return ;
} CString string, prefix, suffix, path, sCopy, sTemp, strFilePath;
int     iStart = 0, iEnd = 0;

strFilePath = sURL.Left( ( sURL.ReverseFind( '/' ) ) );
fileContent.Empty();
while( pHttpFile->ReadString( string ) )
{
fileContent += "\r\n" + string;
}
pHttpFile->Close();
pHttpConnection->Close();
delete pHttpFile;
delete pHttpConnection; }
catch(CInternetException* ex)
{
        fileContent.Empty();
delete ex; return;
}
  do the other website it is ok ,but at http://www.xxcb.com.cn/Articles/03/11/20/364586.HTM
 获取的内容里面会有部分乱码现象