How to create a DLL

Charlie charlie.fats at gmail.com
Thu Jun 14 16:24:58 PDT 2007


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



More information about the Digitalmars-d mailing list