Article ID: 328912 - View products that this article applies to.
This article was previously published under Q328912
Microsoft supplies several primary interop assemblies (PIAs) that contain the official description of the most commonly used Microsoft Office XP type libraries. These Microsoft Office XP PIAs make interoperability easier between managed code and Office XP COM type libraries.
Component Object Model (COM) interop assemblies allow unmanaged (COM) code to be called from managed (.NET) code by using the Microsoft .NET Framework and the common language runtime. COM interop assemblies allow managed applications to bind to unmanaged types at compile time, and then provide information to the common language runtime about how the unmanaged types must be marshaled at run time.
While any number of COM interop assemblies may exist for a particular type library, only one COM interop assembly is designated as the PIA. The PIA contains the official description of the unmanaged types that are defined by the publisher of those unmanaged types. Additionally, a PIA is always digitally signed by that publisher.
Generally, you must avoid the use of any Office XP COM interop assembly that is not provided as part of the Office XP PIAs. You must also avoid the use of any Office XP COM interop assembly that is generated by Microsoft Visual Studio .NET at design time. Any Office XP interop assembly that is not included in the Office XP PIAs download is considered unofficial.
To download the official PIAs available to Microsoft Office XP applications and associated technologies, visit the following Microsoft Download Center Web site:
Office XP Primary Interop Assemblies (PIAs)The following list represents the assemblies that are included in this Office XP PIA download:
For additional information about building Office solutions by using Visual Studio .NET, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/311452/ )Develop Microsoft Office solutions with Visual Studio .NET
Article ID: 328912 - Last Review: March 19, 2007 - Revision: 8.5
Contact us for more help
Connect with Answer Desk for expert help.