LINK Help (linker.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
EXETYPE Statement
                                             Up Contents Index Back
─────LINK───────────────────────────────────────────────────────────────────
 
     Syntax:  EXETYPE [descriptor]
 
     Specifies under which operating system the program is to run.
 
     The <descriptor> sets the target operating system and can be one
     of the following values:
 
     <descriptor>         Meaning
 
     WINDOWS [version]    Default. Windows program. The optional
                          <version> determines the minimum version of
                          Windows needed to load the appication or DLL.
                          The default version is 3.0. The syntax for
                          <version> is:
 
                             number[.[number]]
 
                          where each <number> is a decimal integer.
 
                          EXETYPE WINDOWS assumes PROTMODE.
                          See: PROTMODE Statement
                               REALMODE Statement
 
     DOS                  Nonsegmented executable file. LINK assumes
                          EXETYPE DOS for an overlaid DOS program.
                          See: Creating Overlaid DOS Programs
                               LINK's Output
 
     UNKNOWN              Other applications.
 
     Example
 
          EXETYPE WINDOWS 3.0
          REALMODE
 
     This statement combination defines an application that runs under
     Windows 3.0 or higher in any mode.
                                    -♦-