共用方式為


/FIXED   (Fixed Base Address)

OverviewHow Do ILinker Options

Syntax

/FIXED[:NO]

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 will not load the file. For more information, see /BASE (Base Address).

When /FIXED is specified, now the default setting, 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.

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

Do not use /FIXED when building device drivers for Windows NT.