Essentials of COM Interop

Interoperability with COM from inside managed code applications is based on a few essential concepts:

Image Dispatch services to reach out to COM component operations, allowing one to make calls using (seemingly) regular .NET methods, properties, and so on. The CLR and various auxiliary libraries make this possible. For COM gurus, this includes the ability to obtain COM interfaces, deal with co-classes, and so on.

Image Marshaling services solve the impedance mismatch between the type systems of the CLR and COM, with regard to primitive ...

Get C# 5.0 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.