HTMLView Driving me crazy :(
lazarus / 38-Networking and Web Programming
----------------------------------------------------------------------
DeBritto · 2016-02-23 21:21
Hi,
I was using HTMLView component with Lazarus and it was working like a
charm. For any reason, that I still dont know, my program stop to
work. When I try to build I receive the message:
Code: Pascal [Select][+][-]window.onload = function(){var x1 =
document.getElementById("main_content_section"); if (x1) { var x =
document.getElementsByClassName("geshi");for (var i = 0; i Warning:
Recompiling htmlview, checksum changed for htmlun2htmlun2.pas (493,6)
Fatal: cannot find htmlview used by htmlun2, incompatible ppu [...]
htmlview.ppu, package htmlcomp
I was using Lazarus 1.4. But, in hope to solve the problem, Yesterday
I upgraded. Now I'm using THTMLport package version 9.45 with Lazarus
1.6 rev 51630.
I make a clean install and It worked again. But after some time, the
error came back again.
I've searched the forum and I found that the same thing happened with
other users. But I cannot found a solution yet.
Please, can someone help me on this?
I really need a component to show html strings and must be cross
platform (win/mac/lin). If you can show me an alternative or solution
to the problem
I aprreciate any comments,
----------------------------------------------------------------------
wp · 2016-02-23 21:35
I can't compile the THMLPort package either, and I think I never
could... Try the IpHtmlPanel of the TurboPower_IPro package, it comes
with Lazarus and is used internally to display the syntax popup
windows and the chm help window.
----------------------------------------------------------------------
Jurassic Pork · 2016-02-23 21:52
hello,
have you tried the BerndGabriel version HtmlViewer-11.6 here ?
With this version, i have no problem to install the package and run
the htmldemolaz with Lazarus 1.6RC1 32 bits on windows 7.
Friendly, J.P
----------------------------------------------------------------------
wp · 2016-02-23 22:56
Laz trunk does not compile it, though...
But Bernd's site seems to be alive, unlike the ccr version. So there's
a good chance that the compilation with trunk will be fixed.
----------------------------------------------------------------------
DeBritto · 2016-02-24 00:23
Hi MP,
Thank you, thank you, thank you so much!
It's working again. I hope that all will be fixed now.
Just one advice, I think that is necessary to use -dDisableUTF8RTL
compiler option to work correctly with Lazarus 1.6 otherwise the
component doesn't encode characters in the right way
Best regards,
Christian