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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.