Re: How to call a function from a dll created with d ?
Ruby The Roobster via Digitalmars-d-learn Fri, 01 Jul 2022 17:26:01 -0700
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.)
- How to call a function from a dl... Vinod KC via Digitalmars-d-learn
- Re: How to call a function ... ryuukk_ via Digitalmars-d-learn
- Re: How to call a funct... Vinod K Chandran via Digitalmars-d-learn
- Re: How to call a function ... mw via Digitalmars-d-learn
- Re: How to call a funct... Vinod K Chandran via Digitalmars-d-learn
- Re: How to call a f... mw via Digitalmars-d-learn
- Re: How to call... Vinod K Chandran via Digitalmars-d-learn
- Re: How to... Adam D Ruppe via Digitalmars-d-learn
- Re: Ho... Vinod K Chandran via Digitalmars-d-learn
- Re: How to call a function ... Ruby The Roobster via Digitalmars-d-learn
- Re: How to call a funct... Vinod KC via Digitalmars-d-learn
- Re: How to call a function ... Ali Çehreli via Digitalmars-d-learn
- Re: How to call a funct... Vinod K Chandran via Digitalmars-d-learn
- Re: How to call a f... apz28 via Digitalmars-d-learn
- Re: How to call... Vinod KC via Digitalmars-d-learn
- Re: How to... mw via Digitalmars-d-learn
- Re: Ho... Vinod K Chandran via Digitalmars-d-learn
- Re: How to... frame via Digitalmars-d-learn