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


本文整理自网络,侵删。

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

相关阅读 >>

Delphi在memorystream查找字符串

Delphi实现win10下Delphi 10.3.1 inline hook 修改mac网卡地址之getadaptersaddresses

Delphi tfilestream 的读写 合并文件

Delphi内联汇编的一点心得

Delphi 判断两个时间差是否在一个指定范围内

Delphi 判断 中文字符

Delphi android调用授权管理打开通知监听服务

Delphi控制摄像头

Delphi 如何把类中的方法做参数

Delphi vista以上系统的进程静音

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



打赏

取消

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

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

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

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

评论

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