activexForm中使用idhttp ,get (uu,ss)下载文件报错,
“project iexplore.exe raised exception class EidsockError with message 'Socket Error # 10035 opertion would block'.....”
有什么办法,大家来帮忙 谢谢。
“project iexplore.exe raised exception class EidsockError with message 'Socket Error # 10035 opertion would block'.....”
有什么办法,大家来帮忙 谢谢。
IdHTTP.HandleRedirects:=true;
IdHTTP.Request.ContentType:= 'application/x-www-form-urlencoded';
IdHTTP.Request.UserAgent:= 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)';
IdHTTP.Request.SetHeaders;
try
st := TMemoryStream.Create ;
IdHttp.Get(weburl,st);
....