Page 1 of 1
There was an error creating the controller. (2)
Posted: Sun Jun 25, 2023 8:31 pm
by Shlomo_V
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?
Re: There was an error creating the controller. (2)
Posted: Tue Jun 27, 2023 9:39 am
by salvadordf
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