#include <urlmon.h>
#pragma link "w32inet.lib"
int main()
{
HRESULT hRet=URLDownloadToFile(0,"http://www.1111.com/abc.exe","d://abc.exe",0,0);
if(hRet==S_OK)
{
printf("Download OK!/n");
}
else
{
printf("Download Failed!/n");
}
return 0;
}
欢迎光临 滴水逆向联盟 (http://dtdebug.com/) | Powered by Discuz! X3.2 |