Difference between COM and .NET component ?

Answer Posted / rajeev

COM vs .NET Component

COM=Object based communication
.NET Component=Interface based communication

COM=Garbage Collector to manage memory
.NET Component=Reference count will be used to manage memory

COM=Type Standard objects
.NET Component=Binary Standard objects

COM=Objects are created by normal new operator
.NET Component=Objects are created by coCreateInstance

COM=Exceptions will be returned
.NET Component=HRESULT will be returned

COM=Object info resides in assembly files
.NET Component=Object info resides in Type library

Is This Answer Correct ?    7 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is durability?

537


Is it true that COM objects no longer need to be registered on the server?

522


What is security?

3253


How to register com+ services?

527


Is the com architecture same as .net architecture?

3111






Explain the new three features of com+ services, which are not there in com (mts)?

3350


What happens when we instantiate a .NET component ?

4105


How to make a net component talk to a com component?

454


Define integrity?

3146


Explain how to make a net component talk to a com component?

3184


Explain the use of contextutil class?

3217


Is com+ dead?

530


how to register dll in COM / COM+ application

7012


Why we learn the 8085? Because we are in 21 century so why we learn 8085?

406


what is the relational database of tables and forms

1949