On Fri, 2 Dec 2011 00:58:23 +0800 "sdv" <sd...@126.com> wrote:
> // a.d > struct demo > { > char lin1; > char lin2; > . > .. > ... > .... > char lin707; > } > > dmd.exe -c "a.d" -of "a.obj" -gc -debug > dmd.exe "a.obj" -gc -debug -L/IMPLIB:a.lib -ofa.dll > > It does not work > > You should provide the error. Also your command doesn't resemble the example on http://www.d-programming-language.org/dll.html C:>dmd -ofmydll.dll -L/IMPLIB mydll.d dll.d mydll.def