关于 Firemonkey (Delphi) 中的 TidHttp、mshtml、ActiveX、COMObj
我正在审查以下有趣的文章,
- nofollow">“使用 Delphi 从 HTML 页面提取链接”,我在 Firemonkey 中进行了测试,它非常有用,但是此 上面的那些对象会降低 Firemonkey 项目的跨平台性吗?如果是这样,我如何使用针对 Firemonkey 平台的资源获得相同的功能?
- 我如何在 firemonkey 中模拟一个小型网络浏览器?
提前致谢。
注意:ChromiumEmbedded 对象不适用于 Firemonkey。
I was reviewing the following interesting article, "Extract Links from HTML page using Delphi", and I tested in Firemonkey and it's very useful, however this code uses objects from Mshtml, ActiveX, and COMObj, so my questions are:
- do those objects above make less cross-platform for a Firemonkey project? if so, How could I get the same functionality using resources targeted for Firemonkey platform?
- How I can emulate a little webbrowser in firemonkey?
Thanks in advance.
Note: ChromiumEmbedded object does't work for Firemonkey.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MSHTML
、ActiveX
和ComObj
都是 Windows 特定的,因此无论如何都不是跨平台的。AFAIK 还没有跨平台的 HTML 查看器(在 Embarcadero Delphi 论坛上有人问过)。
TIdHTTP
适用于 Win32、Win64 和 OSX;它还不适用于 iOS - 请参阅这篇文章 。MSHTML
,ActiveX
, andComObj
are all Windows-specific, and therefore are not cross-platform in any way.There are no cross-platform HTML viewers for FireMonkey yet, AFAIK (it's been asked at the Embarcadero Delphi forums).
TIdHTTP
is available for Win32, Win64, and OSX; it's not available yet for iOS - see this post.