WebView4Delphi

From Lazarus wiki
Revision as of 20:57, 4 December 2021 by Alextp (talk | contribs) (Created page with "= About = [https://github.com/salvadordf/WebView4Delphi WebView4Delphi] allows to embed Chromium-based web browsers in your Delphi or Lazarus applications using the WebView2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

About

WebView4Delphi allows to embed Chromium-based web browsers in your Delphi or Lazarus applications using the WebView2 runtime. It uses many of the tricks from CEF4Delphi and you will notice many similarities if you used it. There are a few things pending like the "windowless mode".

Requirements

If you have Windows 11 then you already have the "evergreen" version of the Microsoft Edge WebView2 Runtime installed in your computer but older Windows versions need to install it. Download it from here. The WebView4Delphi demos are configured to use the "evergreen" version.

Read the license carefully and pay special attention to the 3.a, 3.b, 9.a and 9.b points because your users might not like what Microsoft is doing.

Demos

WebView4Delphi loads the WebView2Loader.dll library found inside the Microsoft.Web.WebView2 NuGet package version 1.0.1054.31 but author already extracted that DLL and copied it into the bin32 and bin64 directories, where the demo executables are automatically created.