Note: This website is archived. For up-to-date information about D projects and development, please visit
Version 4 (modified by jcc7, 12 years ago)
moved .def file to a subpage


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 a .lib (using DM's implib):

implib shell32.lib shell32.def

Example of a .def file: kernel32.def