Calling PE DLLs

Daniel Stodden dns at somacoma.de
Wed Nov 2 10:23:33 CST 2005


On Wed, 2005-11-02 at 10:54 +0100, Alexandre Julliard wrote:
> Daniel Stodden <dns at somacoma.de> writes:
> 
> > then, one of my better guesses on how to proceed seemed to be:
> >
> > winebuild --dll -fPIC -E vendor.dll.spec -L. -lvendor test.o -o
> > libvendor.dll.s
> >
> > the assembler code looks reasonable. though, linking fails with
> > duplicate symbols:
> >
> > winegcc   test.o libvendor.dll.o  -o test
> 
> You shouldn't need any of that. Once you have libvendor.def you should
> be able to simply do:
> 
>   winegcc -o test test.o -lvendor

okay. thanks to your advice, i've got both the compile-time linking as
well runtime loading running now.

works well.

thanks for all the responses.

regards,
daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20051102/52e86968/attachment.pgp


More information about the wine-devel mailing list