BOOL DownloadHttpFile(LPCSTR szDomainAddr, LPCSTR szInetFileAddr, LPCSTR szDownloadPath) { if (!szDomainAddr || !szInetFileAddr || !szDownloadPath) return FALSE; // 1. Create Session CInternetSession session; CHttpConnection* pHttpConn = session.GetHttpConnection(szDomainAddr); if (NULL == pHttpConn) return FALSE; // 2. Open Internet File CHttpFile* pHttpFile = (CHttpFile*)session.OpenURL(szInet..