Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

/DELAYLOAD (Delay Load Import)

/DELAYLOAD:dllname

where:

dllname
The name of a DLL that you want to delay load.

Remarks

The /DELAYLOAD option causes delayed loading of DLLs. The dllname specifies a DLL to delay load. You can use this option as many times as necessary to specify as many DLLs as you choose. You must link your program with Delayimp.lib or implement your own delay-load helper function.

The /DELAY option specifies binding and loading options for each delay-loaded DLL.

To set this linker option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the Linker folder.
  3. Click the Input property page.
  4. Modify the Delay Load DLL property.

To set this linker option programmatically

See DelayLoadDLLs Property.

See Also

Setting Linker Options | Linker Options

Show:
© 2015 Microsoft