Understanding COM Interop

  • Tom Barnaby


What does COM interoperability have to do with distributed programming? Good question. In a perfect world where all code is managed by the .NET runtime and there is infinite time to complete projects, this chapter would not be needed. I don’t have to tell you that this is not a perfect world. And not even Microsoft has infinite time to complete projects. Therefore, for the initial release of .NET, Microsoft decided to leverage the existing COM+ code instead of rewriting it in managed code. So when hosting managed objects, COM+ must use the COM interoperability services provided by .NET. To be sure, you can skip this chapter and go directly to the sexier COM+ material. However, when you start implementing COM+ components in managed code, some COM+ behavior may surprise and confound you if you are not familiar with the concepts presented here.


Visual Studio Export Process Reference Count Perfect World Type Library 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Tom Barnaby 2002

Authors and Affiliations

  • Tom Barnaby

There are no affiliations available

Personalised recommendations