Primary Interop Assemblies

You've seen how to quickly create a COM object that can then have its type library imported and made available to .NET via Visual Studio .NET or the TlbImp.exe processor. When vendors want to make their components available to .NET programmers, they produce what is called a primary Interop assembly (PIA). The next section of this chapter deals with what PIAs are, how they work, and how you can make and consume them in your own code.

Overview of Primary Interop Assemblies

PIAs are unique assemblies that contain COM proxies that are ready to be used by managed code. What happens all too often is that, without a PIA, every developer creates his own Interop assembly with TlbImp or Visual Studio .NET and is free to make ...

Get Microsoft® Visual C#® .NET 2003 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.