.NET Com Interopability
I have a C# class X which inherits from class Y. Class X should be Com-Visible (should be used in an old Vb6 application)开发者_如何学运维. It is neccessary to use some Types of class Y in the VB6 application. How can I make them also COM-visible (without changing class Y) ?
If you can't change class Y, then I'd create new COM-visible wrappers that expose the data and types from class Y.
精彩评论