invalidIUnknown MDA
The invalidIUnknown
managed debugging assistant (MDA) is activated when an invalid IUnknown
pointer is passed to managed code from native code. The IUnknown
fails to return success when queried for the IUnknown
interface.
Symptoms
An unexpected error occurs when marshalling a COM interface pointer during argument marshalling.
Cause
An incorrect QueryInterface
implementation on the COM interface passed to the CLR.
Resolution
Correct the QueryInterface
implementation.
Effect on the Runtime
This MDA has no effect on the CLR.
Output
The description of the error.
Configuration
<mdaConfig>
<assistants>
<invalidIUnknown />
</assistants>
</mdaConfig>
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for