State of windows DLL support

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Apr 3 15:47:13 PDT 2016


On Sunday, 3 April 2016 at 13:59:29 UTC, Vladimir Panteleev wrote:
> 2. If the main program is in D and you want to use a C DLL, 
> then it is no different to how D already uses the Windows API 
> runtime or any other C library. You will need to find, create 
> or convert an import library in order to link against the C 
> DLL. The same warning about memory and lifetime as above 
> applies.

thanks. In theory all the DLL will do is talk to a device driver 
that talks to the power inverters, so just copying the useful 
data should work, possibly freeing the old data.
I'm not quite sure how easy output will be but oh well.


More information about the Digitalmars-d-learn mailing list