How to create a DLL
Charlie
charlie.fats at gmail.com
Sat Jun 16 06:28:15 PDT 2007
Walter Bright wrote:
> Charlie wrote:
>> Frank Benoit wrote:
>>> I try to build a DLL with dmd on windows with tango.
>>>
>>> with empty functions that worked. When i put only a switch statement
>>> into a method, the linker complains about a missing "__Dmain". Why is
>>> that?
>>
>> I don't think DLL's are created with the linker, they are created with
>> lib.exe -> http://www.digitalmars.com/ctg/lib.html
>
> No, DLLs (aka Dynamic Link Libraries) are created by the linker.
> Libraries (aka Static Link Libraries) are created by lib.
Ack, ignore me !
More information about the Digitalmars-d
mailing list