0

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 still uses the concept of ActiveX?

Thanks

RRUZ
  • 134,889
  • 20
  • 356
  • 483
p.magalhaes
  • 7,595
  • 10
  • 53
  • 108

1 Answers1

1

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.

Community
  • 1
  • 1
RB.
  • 36,301
  • 12
  • 91
  • 131