Summary

Interoperability is paramount to the success of modern application development and .NET itself. For this reason, .NET exposes a number of interop possibilities and provides the level of control that a given developer may need or can handle.

The following are key points of the chapter:

  • .NET can reach into COM servers through the CLR-generated and managed Runtime Callable Wrapper.

  • COM developers integrating with .NET clients should create a Primary Interop Assembly to wrap their object's interfaces.

  • You can create a custom wrapper for a given COM object through inheritance and overriding methods of a COM server's PIA.

  • .NET components can be called from COM clients through the CLR-generated unmanaged COM Callable Wrapper.

  • .NET components shared ...

Get Visual Basic® Programmer's Guide to the .NET Framework Class Library 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.