Home | Overview | FAQ | Details
LIBRARY [library][BASE=address]
This statement tells LINK to create a DLL. At the same time, LINK creates an import library, unless an .EXP file is used in the build.
The library argument specifies the internal name of the DLL. (Use the Output File Name (/OUT) option to specify the DLL’s output name.)
The BASE=address argument sets the base address that the operating system uses to load the DLL. This argument overrides the default DLL location of 0x10000000. See the description of the Base Address (/BASE) optionfor details about base addresses.
An equivalent way to specify a DLL build is with the /DLL option, and an equivalent way to set the base address is with the /BASE option.