Mixing D and C - Windows

Exec dragon-x at gmx.de
Sat Dec 31 16:20:45 PST 2011


Jakob Ovrum Wrote:
> As for loading C symbols in a DLL from a D program, you must link 
> against an import library of the DLL, and create an interface 
> module (similar to a header file) with the C declarations.
Alternatively, you can load the DLL via the Windows API.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684175%28v=vs.85%29.aspx


More information about the Digitalmars-d-learn mailing list