Using C library libsndfile with D

Kadir Erdem Demir via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jun 25 21:22:44 PDT 2015


> D has the pragma(lib) feature where you can tell the compiler 
> to link with a specific library as well. For example:
>
>   pragma(lib, "curl");

I want to try that as soon as I get home from work.


> You probably need to make a .lib file from the dll too. The 
> implib program does that.
>
> If you don't have it, if you wanna email me the 
> libsoundfile.dll program, I'll run it and make the .lib for you.

Your advice and your time is very important for me. I will try to 
run implib. I think it is important to get use to this tool for 
future anyways.

Thanks alot
Erdem


More information about the Digitalmars-d-learn mailing list