Using .lib and .dll in D applications

captaindet via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 19 18:33:59 PDT 2016


On 2016-06-20 06:33, moe wrote:
> I see where I went wrong. I thought that it's possible to only use the
> .lib file without the source code of dbar. Having access to the source
> makes what I am trying somewhat pointless. Is it otherwise possible to
> provide some functionality without having to give away your source? I
> would like to put together a library that I can reuse, without having to
> rely on the source each time. Maybe a dll instead?

for this purpose there are .di interface files that can be generated 
automatically:
https://dlang.org/dmd-windows.html#interface-files


More information about the Digitalmars-d-learn mailing list