/FIXED

Syntax:

/FIXED

This option tells the operating system to load the program only at its preferred base address. If the preferred base address is unavailable, the operating system does not load the file. For more information on base address, see /BASE.

When you specify /FIXED, LINK does not generate a relocation section in the program. At run-time, if the operating system cannot load the program at that address, it issues an error and does not load the program.

Some Win32 operating systems, especially those that coexist with MS-DOS, frequently must relocate a program. A program created with /FIXED will not run on Win32s® operating systems.

Note: Do not use /FIXED when building device drivers.