开发者

.NET Com Interopability

开发者 https://www.devze.com 2022-12-26 21:14 出处:网络
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 app

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消