How to call a function from a dll created with d ?
Vinod KC
kcvinu82 at gmail.com
Sat Jul 2 00:48:21 UTC 2022
On Saturday, 2 July 2022 at 00:23:20 UTC, Ruby The Roobster wrote:
> 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.)
Thank you for the reply. Let me try that.
More information about the Digitalmars-d-learn
mailing list