What is the Difference between .NET components and COM Components

前端 未结 4 774
情书的邮戳
情书的邮戳 2021-01-30 07:43

What is the Difference between .NET components and COM Components, sometimes we use .NET Components to include in our projects and sometimes we include COM reference. What is th

4条回答
  •  鱼传尺愫
    2021-01-30 08:05

    .NET components run in the CLR, whereas COM components are essentially native Windows DLL's.

    .NET components also expose vastly more metadata than COM components. This redesign was undertaken in part to make components more interoperable. In particular, .NET components do not make platform-specific assumptions about data layout and calling conventions.

    See Don Box.

提交回复
热议问题