Important COM Interop Concepts

Conceptually, developers have two problems to solve. First, they must be able to consume COM objects in their applications, including their Active-X custom controls. Second, they must be able to allow unmanaged COM clients to use the managed .NET objects. Although these steps do not sound all that complicated, it turns out that the COM and .NET worlds are quite different; in order for them to communication with one another, there needs to be some sort of interoperability layer between them. Wrapper is the common term to describe these interop layers. The communication process between the .NET runtime and COM is commonly referred to as COM Interop.

In COM Interop, there are two types of wrappers that you need to ...

Get Microsoft® Visual Basic® .NET 2003 Kick Start 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.