| Код | CInternetSession* pInternetSession; pInternetSession = new CInternetSession();
if (!pInternetSession) { AfxMessageBox("Не удалось начать сеанс Internet", MB_OK); return; }
CStdioFile* pFile = NULL; CString stLine,adr; m_Adr.GetWindowText(adr); pFile = pInternetSession->OpenURL(adr);
while(pFile->ReadString(stLine)!=false) {
m_Edit.SetWindowText(stLine+"\r\n")); } UpdateData(false); pFile->Close(); pInternetSession->Close();
|
Выводит только последнюю строку Подскажите пожалуйста, Может Лучше подругому сделать? |