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 transaction atomicity?

669


What is manageability?

723


What is the difference between com architecture and .net architecture?

652


Explain the disadvantages of com components?

2931


Explain the use of contextutil class?

3372


Define integrity?

3297


What is integrity?

669


what is the relational database of tables and forms

2114


What is availability?

3423


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

574


how to register dll in COM / COM+ application

7278


Explain what are wrapper classes?

689


What are rcw?

661


What is durability?

682


How to register com+ services?

677