call Pascal DLL functions from D

Adam D. Ruppe destructionator at gmail.com
Wed Oct 25 03:36:54 UTC 2017


On Wednesday, 25 October 2017 at 03:12:56 UTC, Oleg B wrote:
> Calling convention is `stdcall` (`extern (Windows)` for D), 
> arguments of some functions is structs of structs and etc with 
> static array fields:

Fun fact, D has extern(Pascal): 
https://dlang.org/spec/attribute.html#linkage


I don't know the details  of the rest... but I think you're right 
about what you have so far.

I'd suggest just trying it and seeing if the functions return 
what you expect.


More information about the Digitalmars-d-learn mailing list