About TidHttp, mshtml, ActiveX, COMObj in Firemonkey (Delphi)

眉间皱痕 提交于 2019-12-02 10:09:36

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/7535672/about-tidhttp-mshtml-activex-comobj-in-firemonkey-delphi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!