For DLLs, what does export actually do?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Feb 9 12:44:08 PST 2013


On 2/9/13, Ben Davis <entheh at cantab.net> wrote:
> Hi,
>
> I'm working on a multimedia driver DLL, i.e. one that Windows loads on
> behalf of any program that uses the Windows multimedia API.
>
> I'm using a .def file with an EXPORTS section, and I've also got all the
> relevant functions marked as 'export' in the code.

Export in code allows you to avoid listing exported functions in the
DEF file. However you should likely still use the DEF file even if it
lacks a list, as I recall there's a bug related to not using DEF files
(I can't find the issue right now).


More information about the Digitalmars-d-learn mailing list