Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

dll

Specifies that a program should be linked as a dynamic-link (DLL) library.

Syntax

Linux:

None

Windows:

/dll

Arguments

None

Default

OFF

The program is not linked as a dynamic-link (DLL) library.

Description

This option specifies that a program should be linked as a dynamic-link (DLL) library instead of an executable (.exe) file. It overrides any previous specification of runtime routines to be used and enables the /libs:dll option.

If you use this option with the /libs:qwin or /libs:qwins option, the compiler issues a warning.

IDE Equivalent

None

Alternate Options

Linux: None

Windows: /LD