You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to create a ICoreWebView2EnvironmentOptions object using CoCreateInstance, but can't get it to work. The most promising attempt was to use LIBID_WebView2 as the class:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been trying to create a ICoreWebView2EnvironmentOptions object using CoCreateInstance, but can't get it to work. The most promising attempt was to use LIBID_WebView2 as the class:
LIBID_WebView2 is externed in the headers but not available at link time, so I defined it myself:
However, no luck (REGDB_E_CLASSNOTREG).
Is there a way to do this? "use WRL" is not a workable solution in this case.
Beta Was this translation helpful? Give feedback.
All reactions