Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

source:trunk/def

This folder contains export definiton files (*.def) for win32 .dll to DMD interfacing. Use in the same way you would use an implib for linking into your application:

dmd -ofmyprogram.exe myprog.obj win32lib.def

You can use a .def to create an import .lib (using DM's implib):

implib shell32.lib shell32.def

(using DM's implib) If you just need all of the dll, simply pass the dll

implib shell32.lib shell32.dll

Examples of .def files: