I saw other posts with the same subject, but here is the difference:
1) I have it happen only when I run the "Simple Browser" in debugger (XE3). Running without debug is OK.
2) The error code is 0x80070032
Any insight?
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
There was an error creating the controller. (2)
- salvadordf
- Posts: 4304
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: There was an error creating the controller. (2)
Hi,
That error code is not mentioned in the WebView2 documentation but it means "The request is not supported.".
It's the result of HResultFromWin32(ERROR_NOT_SUPPORTED).
There are some other reported issues with that error code :
https://github.com/MicrosoftEdge/WebView2Feedback/issues/2025
https://github.com/MicrosoftEdge/WebView2Feedback/issues/3554
https://github.com/MicrosoftEdge/WebView2Feedback/issues/3526
I would try updating Windows completely and using the latest version of WebView4Delphi.
Please check that your version of Windows is supported by WebView2.
Read this post for more information :
https://www.briskbard.com/forum/viewtopic.php?f=13&t=2162
That error code is not mentioned in the WebView2 documentation but it means "The request is not supported.".
It's the result of HResultFromWin32(ERROR_NOT_SUPPORTED).
There are some other reported issues with that error code :
https://github.com/MicrosoftEdge/WebView2Feedback/issues/2025
https://github.com/MicrosoftEdge/WebView2Feedback/issues/3554
https://github.com/MicrosoftEdge/WebView2Feedback/issues/3526
I would try updating Windows completely and using the latest version of WebView4Delphi.
Please check that your version of Windows is supported by WebView2.
Read this post for more information :
https://www.briskbard.com/forum/viewtopic.php?f=13&t=2162