/DLL

Syntax:

/DLL

Builds a DLL as the main output file. A DLL usually contains exports that can be used by another program. There are three methods for specifying exports, listed in recommended order of use:

A program can use more than one method.

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

In the visual development environment, you can set this option by choosing Dynamic-Link Library under Project Type in the New Project dialog box.