Page 1 of 1

Delphi version

Posted: Wed Feb 09, 2022 7:15 pm
by brche
Hi,
In uWVBrowserBase, you are checking {$IFDEF DELPHI26_UP} before using TNetEncoding. Using Delphi version 24 (Berlin) we get a warning that HTMLDecode is deprecated and we should use TNetEncoding.
(actually the error is: [dcc32 Hint] uWVBrowserBase.pas(2718): H2443 Inline function 'HTMLDecode' has not been expanded because unit 'System.NetEncoding' is not specified in USES list)

Brian

Re: Delphi version

Posted: Thu Feb 10, 2022 8:20 am
by salvadordf
Thanks for letting me know! :)

According to Embarcadero's website System.NetEncoding.TNetEncoding.URL was present even in Delphi XE7.

I'll fix those conditionals in the next update.

Re: Delphi version

Posted: Thu Feb 10, 2022 10:57 am
by salvadordf
I just uploaded your fix. Thank you!

Re: Delphi version

Posted: Thu Feb 10, 2022 3:38 pm
by brche
Thanks Salvador.
It looks like you forgot to remove the $IFDEF DELPHI26_UP in the uses clause.

Brian

Re: Delphi version

Posted: Thu Feb 10, 2022 4:06 pm
by salvadordf
Fixed.
Thanks again!