link error
Jesse Phillips
jessekphillips+D at gmail.com
Thu Dec 1 11:16:32 PST 2011
On Fri, 2 Dec 2011 00:58:23 +0800
"sdv" <sdvcn at 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
More information about the Digitalmars-d
mailing list