Recent

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

alaa123456789

  • Sr. Member
  • ****
  • Posts: 260
  • Try your Best to learn & help others
    • youtube:
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: 14373
  • Sensorship about opinions does not belong here.
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.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

alaa123456789

  • Sr. Member
  • ****
  • Posts: 260
  • Try your Best to learn & help others
    • youtube:
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