Lazarus

Free Pascal => General => Topic started by: alaa123456789 on June 11, 2021, 07:18:50 am

Title: how to use h2pas to port webview
Post by: alaa123456789 on June 11, 2021, 07:18:50 am
hi all,
anyone could help how to use H2pas to port webview.cc from this link
https://github.com/webview/webview (https://github.com/webview/webview)
to pascal and use it in Lazarus to view websites

appreciate your support

thanks
Title: Re: how to use h2pas to port webview
Post by: Thaddy on June 11, 2021, 10:49:13 am
h2pas can be used to partially translate webview.h
h2pas is only for header files.

In this case there is lots of manual work to do since the header contains classes and h2pas can not translate those. It is doable, but not easy. Maybe https://github.com/dliw/fpCEF3 is a better option.
Title: Re: how to use h2pas to port webview
Post by: alaa123456789 on June 11, 2021, 03:40:05 pm
thanks for reply, chromium is better of course but it has huge dependency files , webview it come with windows and only need two dll's

thanks
TinyPortal © 2005-2018