| Syntax: | Default: |
| link(subsystem, name
) link(subsystem, name, major) link(subsystem, name, major, minor ) |
link(subsystem, CONSOLE, 4, 0) |
This option specifies the Windows subsystem and version required to run the program.
You can specify just the name of the subsystem, the name and the major version number, or the name and both major and minor version numbers. Running the program on a system that does not support these version formats causes the loader to display an error dialog.
The name identifies the subsystem, as shown in the table below. Major and minor specify the minimum required version of the subsystem. These numbers must be integers in the range 0 to 65535.
The following susbystems are available:
| Subsystem | Major.Minor | Description |
|---|---|---|
| WINDOWS | 4.0 | A graphical application that uses the Graphical Device Interface (GDI) API. |
| CONSOLE | 4.0 | A character-mode application that uses the Console API. |
![]()
Incremental C++ Builds
C Compilation
Configuration
Files
