Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

NAME (C/C++)

Specifies a name for the main output file.

NAME [application][BASE=address]

An equivalent way to specify an output file name is with the /OUT linker option, and an equivalent way to set the base address is with the /BASE linker option. If both are specified, /OUT overrides NAME.

If you build a DLL, NAME will only affect the DLL name.

© 2015 Microsoft