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)

Post Reply
Shlomo_V
Posts: 1
Joined: Sun Jun 25, 2023 4:11 pm

There was an error creating the controller. (2)

Post 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?
User avatar
salvadordf
Posts: 4079
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: There was an error creating the controller. (2)

Post 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
Post Reply