How to: Install MAPI Header and Library Files

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

MAPI header and library files are included as part of the Microsoft Windows SDK. Once you have installed Microsoft Windows SDK, you can access MAPI header files by using Microsoft Visual Studio 2008.

For a list of MAPI header files, see Finding Header Information.

Prerequisites

Before you can install MAPI header and library files, make sure that you have met the following prerequisite:

  • You have a supported Windows-based operating system installed and running on your computer.

To install MAPI header and library files

  • Download and install Microsoft Windows SDK.

    - OR -

  • Obtain and install Microsoft Visual Studio 2005 or a later version (optional).

    Note

    Windows SDK is installed to \Program Files\Microsoft SDKs\Windows as a component of Visual Studio.

After following these steps, you can view the MAPI header and library files in the following locations. The MAPI header files are located at <drive>\Program Files\Microsoft SDKs\Windows\<SDK_Version>\Include. The MAPI library file Mapi32.lib is located at <drive>\Program Files\Microsoft SDKs\Windows\<SDK_Version>\Lib.

See Also

Concepts

MAPI Programming Overview

How to: Link to MAPI Functions

Finding Header Information

Other Resources

Mapi32 Stub Library