开发者

ActiveX and .NET

开发者 https://www.devze.com 2023-02-21 05:45 出处:网络
I used to work with DCOM (out process exe) and COM (inprocess dll) in delphi language. Is there any substitute for them in .NET language?

I used to work with DCOM (out process exe) and COM (inprocess dll) in delphi language. Is there any substitute for them in .NET language? Does Microsoft开发者_Python百科 still uses the concept of ActiveX?

Thanks


You can expose a COM interface for your .NET class by decorating your .NET class with various attributes. See this article for a tutorial.

ActiveX is basically just "COM in a web-page" so it continues to be supported by virtue of .NET's support for COM. However, distributing ActiveX objects is a lot more difficult - see my answer to this question.

Generally speaking, VB.NET has better support for COM than C#. However, for other .NET development, C# is the more popular language.

0

精彩评论

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