Difference between COM and .NET component ?

Answer Posted / virat sarswat

Correcting Rajeev's answer
COM vs .NET Component

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

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

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

.NET Component=Objects are created by normal new operator

COM=Objects are created by coCreateInstance

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

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

Is This Answer Correct ?    23 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to register com+ services?

3290


Define transaction atomicity?

3100


Explain the use of contextutil class?

3214


How CCW and RCW is working?

669


Explain what are wrapper classes?

521






What are Interop Services?

540


how to register dll in COM / COM+ application

7000


Can .NET Framework components use the features of Component Services?

488


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

448


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

401


What is transaction atomicity?

517


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

3180


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

518


Is com+ dead?

527


How to register com+ services?

523