What is the Difference between .NET components and COM Components

前端 未结 4 778
情书的邮戳
情书的邮戳 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:01

    COM components are unmanaged C++ code components designed to make software reusable at binary level. NET components are similar altough 1) they can be created on CLR-languages while COM components can be built with C++ only 2) They are meant to run under a managed runtime. I think those are essential differences.

    EDIT:

    C++ is the most "natural" language in COM, but COM components can be created in MANY languages. Thanks for the comments people.

提交回复
热议问题