Registry / other / webview2

webview2

JSON →
library1.0.3800.47vcpkgunverified

The WebView2 control allows you to embed web technologies (HTML, CSS, and JavaScript) using Microsoft Edge.

vcpkg install webview2
INSTALL
IMPORT
SIG · WEBVIEW2
W
webview2
othercppv1.0.3800.47
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

webview2.h
#include <webview2.h>

Initializes the WebView2 environment (requires Windows and wil).

#include <webview2.h> #include <windows.h> #include <iostream> int main() { CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED); wil::com_ptr<ICoreWebView2Environment> env; HRESULT hr = CreateCoreWebView2EnvironmentWithOptions(nullptr, nullptr, nullptr, Microsoft::WRL::Callback<ICoreWebView2CreateCoreWebView2EnvironmentCompletedHandler>( [](HRESULT, ICoreWebView2Environment*) -> HRESULT { std::cout << "Environment created\n"; return S_OK; }).Get()); CoUninitialize(); return 0; }
Debug
Known issues
gotchaWebView2 requires the Microsoft Edge WebView2 Runtime to be installed on the target system.
fix
Distribute the Evergreen WebView2 Runtime bootstrapper or use a fixed version.
affects: *
Upgrade
Version history
1.0.3800.47latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Amazon
1
Resources

No resource links recorded.

webview2 — pip install webview2 · libregistry