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


本文整理自网络,侵删。

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

相关阅读 >>

Delphi adoquery查询更改用户

Delphi 枚举类型和integer整型之间的互换

Delphi xe中将正则表达式tregex的使用

Delphi里formatfloat的用法

Delphi winapi: getwindowtext - 获取窗口标题

Delphi xe2读取内存偏移数据代码

Delphi listbox 使用

几个webbrowser相关的函数

Delphi 自带rest调试工具 restdebugger 用法

Delphi encddecd 加密解密

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



打赏

取消

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

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

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

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

评论

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