Skip to content

Instantly share code, notes, and snippets.

@yeongu-dev
Created January 16, 2013 01:57
Show Gist options
  • Save yeongu-dev/4543957 to your computer and use it in GitHub Desktop.
Save yeongu-dev/4543957 to your computer and use it in GitHub Desktop.
Http download API for MFC. [start] include UrlMon.h --> Call URLDownloadToFile API
#include <UrlMon.h>
HRESULT hr = URLDownloadToFile(NULL,
_T("http://static.naver.net/www/u/2010/0611/nmms_215646753.gif"),
_T("nmms.gif"),
0,
NULL);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment