Creating DLL

Adam D Ruppe destructionator at gmail.com
Thu Jun 16 14:22:17 UTC 2022


On Thursday, 16 June 2022 at 13:57:48 UTC, Sergeant wrote:
>     export int my(int a, int b)

the name here is going to be mangled, so like "_D5mydll2myiiZi" 
or something like that.

You might want to add `extern(C)` to it so it keeps the simple 
name "my", that might help.


More information about the Digitalmars-d-learn mailing list