@Richard Deeming:
Webview2 isn't the problem, I downloaded
this example and it works just fine.
I now downloaded VS2019 but I get the same error: DLL not registred.
When I look up the error "Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)" google says it's an environmental error due to bad MS Office registry entry. So I uninstalled Office, but the error persists.
Not sure what to do now.