Chapter 15. Creating and Deploying Useful Primary Interop Assemblies

In This Chapter

Primary Interop Assembly or Brand New Assembly?

Creating a Primary Interop Assembly

Deploying and Registering a Primary Interop Assembly

Writing IDL That Produces Good Type Libraries

What About ActiveX Controls?

As discussed in Chapter 3, “The Essentials for Using COM in Managed Code,” a Primary Interop Assembly (PIA) is the official assembly for a corresponding type library, digitally signed and distributed by the author of the type library. The notion of PIAs is simply a convention used by tools such as Visual Studio .NET and TLBIMP.EXE to encourage clients of a COM component to use the same Interop Assembly that others are using. Since the identity ...

Get .NET and COM: The Complete Interoperability Guide 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.