Home | Overview | How Do I | Linker Options
The Force Symbol References (/INCLUDE:symbol) option tells the linker to add a specified symbol to the symbol table. (To find this option in the development environment, click Settings on the Project menu. Then click the Link tab, and click Input in the Category box.)
Type a symbol name in the Force Symbol References text box. To specify multiple symbols, type a comma (,), a semicolon (;), or a space between the symbol names. On the command line, specify /INCLUDE:symbol once for each symbol.
The linker resolves symbol by adding the object that contains the symbol definition to the program. This feature is useful for including a library object that otherwise would not be linked to the program.
Specifying a symbol with this option overrides the removal of that symbol by /OPT:REF.