dynamically loading a dynamic library from the program

Adam D. Ruppe destructionator at gmail.com
Sat Jul 28 22:47:33 UTC 2018


On Saturday, 28 July 2018 at 22:30:38 UTC, Michal Kozakiewicz 
wrote:
> 1. In this case, can I use this library in the D language 
> program?
> 2. How to create initialization?

You can load it exactly the same way you would from C. The 
article you linked is about writing a DLL in D itself, but using 
a DLL from D is nothing special. Same functions as in C. The 
compiler of the dll doesn't matter.


More information about the Digitalmars-d-learn mailing list