问题
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.
回答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