Article ID: 304295 - Last Review: May 8, 2007 - Revision: 1.4 How to create a Primary Interop Assembly (PIA)This article was previously published under Q304295 On This PageSUMMARYA Primary Interop Assembly (PIA) contains the official
description of types
as defined by the types publisher. A PIA is an assembly that contains a
signed set of wrapper classes that enables you to call unmanaged code from
managed code. A PIA is a unique vendor-supplied assembly that contains the type definitions of types that are implemented by using the Component Object Model (COM). In a PIA, the type definitions are contained as metadata. The COM type library publisher must sign only one PIA with a strong name. A single PIA can wrap more than one version of the same type library. A COM type library that is imported as an assembly and that is signed by someone other than the original type library publisher cannot be a PIA. Only the type library publisher can create a PIA that becomes the unit of official type definitions for interoperating with the underlying COM types. RequirementsThis article assumes that you are familiar with the following topics:
The following list outlines the recommended hardware, software, network infrastructure, and service packs that you need:
Create a Primary Interop Assembly (PIA)To create a PIA, follow these steps:
REFERENCESFor more information about PIAs, visit the following
Microsoft Web site: http://msdn2.microsoft.com/en-us/library/aa302338.aspx
(http://msdn2.microsoft.com/en-us/library/aa302338.aspx)
| Article Translations
|
Back to the top
