반응형
CInternetSession cInternetSessiong;
CInternetFile* pcInternetFile = NULL;
try {
pcInternetFile = (CInternetFile*)cInternetSessiong.OpenURL(strURL, 1, INTERNET_FLAG_TRANSFER_ASCII);
}
catch (CInternetException* fe) {
fe->ReportError();
fe->Delete();
}
if (pcInternetFile != NULL)
{
// TODO
pcInternetFile->Close();
delete pcInternetFile;
cInternetSessiong.Close();
}
반응형
'C++' 카테고리의 다른 글
MFC Feature Pack - CMFCEditBrowseCtrl Get Path (0) | 2020.06.02 |
---|---|
"DTD cannot be used" when loading C++ xml DOM. Methods that can be used for error messages (0) | 2020.06.02 |
AfxGetMainWnd() (0) | 2020.05.28 |
MFC Class cross reference (0) | 2020.05.28 |
CInternetFile ReadString -- File Download (0) | 2020.05.19 |