#include<urlmon.h>
#pragmalink"w32inet.lib"
intmain()
{
HRESULThRet=URLDownloadToFile(0,"http://www.1111.com/abc.exe","d:\abc.exe",0,0);
if(hRet==S_OK)
{
printf("DownloadOK! ");
}
else
{
printf("DownloadFailed! ");
}
return0;
}
#pragmalink"w32inet.lib"
intmain()
{
HRESULThRet=URLDownloadToFile(0,"http://www.1111.com/abc.exe","d:\abc.exe",0,0);
if(hRet==S_OK)
{
printf("DownloadOK! ");
}
else
{
printf("DownloadFailed! ");
}
return0;
}
2577

被折叠的 条评论
为什么被折叠?



