Issue occured:
"A QueryInterface call was made requesting the default IDispatch interface of COM visible managed class 'xxx. However since this class does not have an explicit default interface and derives from non COM visible class 'System.Windows.Controls.UserControl', the QueryInterface call will fail. This is done to prevent the non COM visible base class from being constrained by the COM versioning rules.."
How to Fix:
本文探讨了在COM可见性管理中遇到的一个常见问题:当尝试调用不存在默认接口的类时,如何通过自定义调试命令来解决接口调用失败的问题。

5675

被折叠的 条评论
为什么被折叠?



