For DLLs, what does export actually do?

Benjamin Thaut code at benjamin-thaut.de
Sun Feb 10 00:17:32 PST 2013


Am 10.02.2013 03:03, schrieb Ben Davis:
>
> My functions are "export extern (Windows)" - I think they're global...?
>
> For example:
>
> export extern(Windows) LRESULT DriverProc(DWORD_PTR dwDriverId, HDRVR
> hdrvr, UINT msg, LONG lParam1, LONG lParam2) nothrow { ... }

Do you have a copy of visual studio around? If so you can use
dumpbin /EXPORTS your.dll
 From a visual studio command shell to see the symbols the dll actually 
exports. Just compare the version where you manually listed them in the 
exports section with the version where you don't manually list exports.

Kind Regards
Benjamin Thaut

-- 
Kind Regards
Benjamin Thaut


More information about the Digitalmars-d-learn mailing list