Skip to main content

STATUS_OBJECT_TYPE_MISMATCH: Windows object had the wrong type

The operation expected one kind of Windows object but was given another. The error is about the object type, not its access permissions. Microsoft lists the WebView2 value as -1073741788 (0xC0000024).

What to check​

  1. Check the surrounding event for the operation and object involved.
  2. Collect the crash context if they are not visible in the ordinary application log.

Official reference​

Microsoft Learn: WebView2 failure, C++ and Windows runtime errors