Recent

Author Topic: how to use h2pas to port webview  (Read 2063 times)

alaa123456789

  • Full Member
  • ***
  • Posts: 172
how to use h2pas to port webview
« 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
to pascal and use it in Lazarus to view websites

appreciate your support

thanks

Thaddy

  • Hero Member
  • *****
  • Posts: 10795
Re: how to use h2pas to port webview
« Reply #1 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.

alaa123456789

  • Full Member
  • ***
  • Posts: 172
Re: how to use h2pas to port webview
« Reply #2 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