Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 998 Bytes

library.md

File metadata and controls

27 lines (19 loc) · 998 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: LIBRARY
LIBRARY
11/04/2016
LIBRARY
LIBRARY .def file statement
1d7ccc92-e088-4ef7-9ef0-25c3862cc051

LIBRARY

Tells LINK to create a DLL. At the same time, LINK creates an import library, unless an .exp file is used in the build.

LIBRARY [library][BASE=address]

Remarks

The library argument specifies the name of the DLL. You can also use the /OUT linker 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 option for details about base addresses.

Remember to use the /DLL linker option when you build a DLL.

See also

Rules for Module-Definition Statements