Difference between COM and .NET component ?

Answers were Sorted based on User's Feedback



Difference between COM and .NET component ?..

Answer / 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

Difference between COM and .NET component ?..

Answer / 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

More COM+ Interview Questions

Disadvantages of com components?

3 Answers   Microsoft,


Define object pooling?

0 Answers  


What is Pinvoke?

0 Answers  


What are CCW and RCW?

9 Answers   Tech Mahindra,


What is use of ContextUtil class?

2 Answers  


what are wrapper Classes?

2 Answers   Tech Mahindra,


Is com+ dead?

0 Answers  


Define availability?

1 Answers  


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

0 Answers  


Disadvantages of COM components?

2 Answers   Microsoft,


How CCW and RCW is working?

0 Answers  


Define manageability?

1 Answers  


Categories