关于TidHttp,mshtml,ActiveX,COMObj在Firemonkey(Delphi) [英] About TidHttp, mshtml, ActiveX, COMObj in Firemonkey (Delphi)

查看:240
本文介绍了关于TidHttp,mshtml,ActiveX,COMObj在Firemonkey(Delphi)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在审核以下有趣的文章,使用Delphi从HTML页面中提取链接,我在Firemonkey中进行了测试,这非常有用,但是这个代码使用了Mshtml,ActiveX和COMObj中的对象,所以我的问题是:对于上述这些对象,对于Firemonkey项目,可以减少跨平台的成本?p>


  1. 如果是这样,我如何使用针对Firemonkey平台的资源获得相同的功能?

  2. 我如何在firemonkey中模拟一个webbrowser?

提前感谢



注意 :ChromiumEmbedded对象不适用于Firemonkey。

解决方案

MSHTML ActiveX ComObj 都是Windows特定的,因此不是以任何方式跨平台。 >

对于FireMonkey,没有跨平台的HTML查看器,AFAIK(在Embarcadero Delphi论坛上被问到)。 TIdHTTP 可用于Win32,Win64和OSX; iOS尚不可用 - 请参阅此帖


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:

  1. 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?
  2. How I can emulate a little webbrowser in firemonkey?

Thanks in advance.

Note: ChromiumEmbedded object does't work for Firemonkey.

解决方案

MSHTML, ActiveX, and ComObj 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.

这篇关于关于TidHttp,mshtml,ActiveX,COMObj在Firemonkey(Delphi)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆