/SUBSYSTEM

HomeOverviews

This option edits the image to indicate which subsystem the operating system must invoke for execution.

/SUBSYSTEM:{CONSOLE|WINDOWS|NATIVE|WINDOWSCE|POSIX|}[,left[,right]]

You can specify any of the following subsystems:

The optional left and right values specify the minimum required version of the specified subsystem. The whole number part of the version number (the portion to the left of the decimal point) is represented by left. The fractional part of the version number (the portion to the right of the decimal point) is represented by right. The values of left and right must be from 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 linker Entry-Point Symbol (/ENTRY:function) option.