Skip to content

Before Step 3 of Guide #5

Open
Open
@tgraupmann

Description

@tgraupmann

Maybe just mention the using namespace before Step 3.

using namespace Microsoft::WRL;

Otherwise there's an undefined Callback error since the example code isn't namespaced...

	// Step 3 - Create a single WebView within the parent window
	// Locate the browser and set up the environment for WebView
	CreateWebView2EnvironmentWithDetails(nullptr, nullptr, nullptr,
		Callback<IWebView2CreateWebView2EnvironmentCompletedHandler>(
			[hWnd](HRESULT result, IWebView2Environment* env) -> HRESULT {

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions