Anybody tried to use THtmlViewer components in Delphi XE?

Anybody tried to use THtmlViewer components in Delphi XE?

What is the deal with GDIPAPI and GDIPUTILS? It appears these are not present (or I couldn't find them) in my install.

There is an issue filed in the Github project site, but it was dismissed because they should be present (https://github.com/BerndGabriel/HtmlViewer/issues/116).

I'm having a problem getting it to compile the latest version. It appears that the GDIPUTILS unit is missing. I can make it work by defining a constant to not to use it (at the expense of some features like PNG support) or by using some units found on the internet (right now I'm using the ones that come with the TChromeTabs component, http://www.easy-ip.net/tchrometabs.html).

Comments

  1. I guess my question is, are these units supposed to be present in XE? Are the units I downloaded (from the easy-ip site) safe to use?

    ReplyDelete
  2. XE has GDI+ units included (.dcu only) because they are used in TeeChart. But included version is incompatible with others.

    ReplyDelete
  3. Alexander Sviridenkov I see. What a hassle.

    ReplyDelete
  4. I just installed (for you) ver 11.4 and it works on XE.

    ReplyDelete
  5. shlomo abuisak yes, and 11.4 works too. But I prefer to have my source code updated.

    Anyways, I forked the project and got it working (branch 11.7) here: https://github.com/leus/HtmlViewer/tree/HtmlViewer-11.7

    ReplyDelete

Post a Comment