开发者

ActiveX and .NET

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜