delphi idhttp控件的防止异常的处理


本文整理自网络,侵删。

 function TThreadSpider.GetHtml(url: string): string;
var
html: string;
begin
try
html := Fhttp.Get(url);
except
html := '';
end;
Result := html;
end;

相关阅读 >>

Delphi firedac内存表

Delphi 获取所有磁盘分区

Delphi中操作olevariant、variant和stream

idhttp访问网页出现socket error #10054错误

Delphi实现音频传输

Delphi 生成txt 指定带bom

Delphi10.3通过json.serializers单元对大量数据序列化

Delphi idhttp多线程下载

Delphi取得当前目录的上一级目录

Delphi 将label的caption内容竖向显示

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...