Click to Rate and Give Feedback

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Developer's Guide 
FailedQI 

The FailedQI managed debugging assistant (MDA) is activated when the runtime calls QueryInterface on a COM interface pointer on behalf of a runtime callable wrapper (RCW), and the QueryInterface call fails.

A cast on an RCW fails, or a call to COM from an RCW fails unexpectedly.

  • The call is made from the wrong context.

  • The registered proxy is failing the QueryInterface call because the call was attempted in the wrong context.

  • An OLE-owned proxy returned a failure HRESULT.

See the MSDN documentation on COM rules.

If a QueryInterface call fails, the context is switched and the QueryInterface call is attempted again to see if an incorrect context was at fault.

The managed name of the interface, the GUID of the interface, and the HRESULT of the failure.

<mdaConfig>
  <assistants>
    <failedQI/>
  </assistants>
</mdaConfig>
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker