RAD Studio
ContentsIndex
PreviousUpNext
#pragma comment

Syntax

#pragma comment (comment type, "string")

Description 

The comment directive lets you write a comment record into an output file. The comment type can be one of the following values:

Value 
Explanation 
exestr  
The linker writes string into an .obj file. Your specified string is placed in the executable file. Such a string is never loaded into memory but can be found in the executable file by use of a suitable file search utility.  
lib  
Writes a comment record into an .obj file. A library module that is not specified in the linker's response-file can be specified by the comment LIB directive. The linker includes the library module name specified in string as the last library. Multiple modules can be named and linked in the order in which they are named.  
user  
The compiler writes string into the .obj file. The linker ignores the specified string.  
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!