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


本文整理自网络,侵删。

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

相关阅读 >>

8086 汇编指令手册查询

Delphi firedac fdconnection 事务

Delphi 用image 画图

Delphi中判断tcp端口是否被占用

Delphi如何在资源管理器中定位文件

Delphi goto 语句的使用

Delphi资源文件的详细使用方法

Delphi xe5读取android imei id

Delphi 获取所有磁盘分区

Delphi 将richedit的内容输出到一个image图像中

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



打赏

取消

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

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

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

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

评论

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