/DLL (Windows CE 5.0)

Send Feedback

This option builds a DLL as the main output file. A DLL usually contains exports that can be used by another program.

/DLL

Remarks

There are three methods for specifying exports, listed in recommended order of use:

  1. The __declspec(dllexport) keyword in the source code
  2. An EXPORTS statement in a .def file
  3. An /EXPORT specification in a LINK command

A program can use more than one method.

Another way to build a DLL is with the LIBRARY module-definition statement. The /BASE and /DLL options together are equivalent to the LIBRARY statement.

Do not specify this option within the development environment; this option is for use only on the command line.

See Also

Linker Options

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.