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

How to invoke .net components from com components,give the sequence ?

3 Answers   Digital GlobalSoft, UST,


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

0 Answers  


Explain JIT activation?

3 Answers  


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

0 Answers  


Explain consistency?

2 Answers  






What is transaction atomicity?

0 Answers  


How CCW and RCW is working?

0 Answers  


What are Interop Services?

0 Answers  


Explain what are wrapper classes?

0 Answers  


What are rcw?

0 Answers  


Difference between COM and .NET component ?

2 Answers   DELL,


What is CCW (COM Callable Wrapper) ?

1 Answers  


Categories