다음을 통해 공유


/COMMENT   (Insert Comment into Header)

OverviewHow Do ILinker Options

Syntax

/COMMENT:["]comment["]

This option inserts a comment string into the header of an .EXE file or DLL, after the array of section headers. The type of operating system determines whether the string is loaded into memory. This comment string, unlike the comment specified with the DESCRIPTION statement in a .DEF file, is not inserted into the data section. Comments are useful for embedding copyright and version information.

To specify a comment that contains spaces or tabs, enclose it in double quotation marks ("). LINK removes the quotation marks before inserting the string. If more than one /COMMENT option is specified, LINK concatenates the strings and places a null byte at the end of each string.