How do you use C based libs with D?

Nick Sabalausky a at a.a
Fri Jun 11 13:49:19 PDT 2010


"Robert M. Münch" <robert.muench at robertmuench.de> wrote in message 
news:huu417$1pu9$1 at digitalmars.com...
> On 2010-06-11 21:39:19 +0200, Adam Ruppe said:
>
>> It works without much hassle at all if you dynamically link the
>> library. That's what I do when using other people's C libs.
>
> Hi, yes, that's the fallback. Either getting all this stuff as DLL already 
> or having to make one.
>
> On the other hand I try to avoid "DLL hell" to keep the support costs as 
> low as possible.
>

You could just bundle the correct DLL directly in with your exe, in the same 
directory.

(Or convince the OSS devs to support DMC ;) ) 




More information about the Digitalmars-d mailing list