This documentation is archived and is not being maintained.

/MAPINFO (Include Information in Mapfile)


The /MAPINFO option tells the linker to include the specified information in a mapfile, which is created if you specify the /MAP option.

  • EXPORTS tells the linker to include exported functions.
  • LINES includes line-number information.

The use of /MAPINFO:LINES is not compatible with /INCREMENTAL.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the Linker folder.
  3. Click the Debug property page.
  4. Modify one of the following properties:
    • Map Exports
    • Map Lines

To set this linker option programmatically

See MapExports Property and MapLines Property.

See Also

Setting Linker Options | Linker Options