How to call a function from a dll created with d ?

Ruby The Roobster rubytheroobster at yandex.com
Sat Jul 2 00:23:20 UTC 2022


The solution is to remove the extern declaration.  That does it 
for me, and it prints the expected output.  No need for a .def 
file, unless you are using optlink as your linker (which, as a 
matter of principle, you should use lld or ld instead.)


More information about the Digitalmars-d-learn mailing list