dynamically loading a dynamic library from the program

Michal Kozakiewicz michalkozakiewicz3 at gmail.com
Sat Jul 28 22:56:52 UTC 2018


On Saturday, 28 July 2018 at 22:47:33 UTC, Adam D. Ruppe wrote:
> 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.

Thank you for your answer!


More information about the Digitalmars-d-learn mailing list