Elegant way to use dynamic bindings

Dennis dkorpel at gmail.com
Fri Feb 9 20:19:33 UTC 2018


On Friday, 9 February 2018 at 18:14:06 UTC, Mike Wey wrote:
> You may need to pass `/s` to implib so it will add the 
> underscore to the symbol in the import library. If it's 
> actually needed depends on what the dll uses.

That did it, now both dynamic loading and dynamic linking work. 
:) Thanks both of you.

I'd still like to find a nice way to generate the boilerplate 
code for dynamic loading, if I come up with something I'll post 
it here.


More information about the Digitalmars-d-learn mailing list