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

Define jit activation?

3381


Explain the use of contextutil class?

3379


What is transaction atomicity?

676


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

3359


What is manageability?

728


Define object pooling?

3408


Is the com architecture same as .net architecture?

3280


What is jit activation?

697


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

661


What are loosely coupled events?

3024


Explain how to register com+ services?

3456


What are Interop Services?

714


What is com, com+ and dcom ?

822


Define integrity?

3303


How to register com+ services?

683