Static/dynamic dlls

Neal Alexander wqeqweuqy at hotmail.com
Wed Aug 1 11:49:19 PDT 2007


Karl wrote:
> Karl Wrote:
> 
>> Karl Wrote:
>>
>>> I can't understand the difference between a static and a dynamic dll.
>>>
>>> A little help please hehe.
>> I've been trying to statically link a d program with a dll that calls d code (http://www.digitalmars.com/d/dll.html) and i can't get it to work. I tried the example that comes with the compiler and works fine but it looks like it doesn't work with namespaces. For example replace the module namespace in the example from mydll to mydll.example.
>>
>> Have somebody get it to work this way?
> I've got one more question related to this. I must import something in my program to access the dll, what should i import? the entire module's namespace? ie: mydll.example. or the name of the dll. I'm having a bit trouble here.

http://www.digitalmars.com/ctg/implib.html


More information about the Digitalmars-d-learn mailing list