/SUBSYSTEM   (Specify Subsystem)

HomeOverviewHow Do ILinker Options

Syntax

/SUBSYSTEM:{CONSOLE|WINDOWS|NATIVE|POSIX|WINDOWSCE}[,major[.minor]]

This option tells the operating system how to run the .EXE file. The subsystem is specified as follows:

The optional major and minor version numbers specify the minimum required version of the subsystem. The arguments are decimal numbers in the range 0 through 65,535. The default is version 4.00 for CONSOLE, WINDOWS, and NATIVE; and version 19.90 for POSIX.

The choice of subsystem affects the default starting address for the program. For more information, see the Entry-Point Symbol (/ENTRY:function) option.