/FIXED (Fixed Base Address)
The /FIXED 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 will not load the file. For more information, see /BASE (Base Address).
By default, /FIXED:NO is the default when building a DLL, and /FIXED is the default for any other project type.
When /FIXED is specified, LINK does not generate a relocation section in the program. At run time, if the operating system is unable to load the program at that address, it issues an error message and does not load the program.
Specify /FIXED:NO to generate a relocation section in the program.
Do not use /FIXED when building device drivers for Windows NT.
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
Click the Linker folder.
Click the Command Line property page.
Type the option into the Additional Options box.
To set this linker option programmatically
- See AdditionalOptions.