[Wine]How to run just a dll

Bill Medland billmedland at mercuryspeed.com
Thu Jul 7 15:21:52 CDT 2005


On July 7, 2005 04:43 am, lily wrote:
> Thanks, Bill
> That's what I need.
> Could I encapsulate my windows dll and make it be(by
> winemaker) a linux shared dll(.so),and at my linux program to
> call this dll(.so)?
>

No, I'm afraid not.  The whole point is that wine itself must be 
the actual process that runs (so that it can do a load of clever 
stuff to make memory and threading and ... work).

Do you have control of the linux program?  (i.e. Is it your own 
program so that you can edit it etc.)  If so then I suppose you 
should be able to make your program into a shared object rather 
than an executable and then write a tiny windows executable 
around it.
>
> ----- Original Message -----
> From: "Bill Medland" <billmedland at mercuryspeed.com>
> To: "lily" <lily at gic.ac.cn>; <wine-users at winehq.org>
> Sent: Wednesday, July 06, 2005 4:22 AM
> Subject: Re: [Wine]How to run just a dll
>
> > On July 5, 2005 08:28 am, lily wrote:
> >> I had a dll,it's just need kernel32.dll.
> >> I only want to run this dll but not windows applications.
> >> Any hints?
> >
> > If you mean what I think you mean, the answer is that you
> > can't (at least not with Wine)
> >
> > I presume you mean that you have a dll that also links to
> > kernel32.dll, and you want a Linux program to make a call
> > into that dll.
> >
> > The closest that you can get to this is to look at winemaker
> > and in the end your Linux program will have to be a Linux
> > shared object that is called by Wine; then it will be able
> > to call the dll.
> >
> > --
> > Bill Medland
> > mailto:billmedland at mercuryspeed.com
> > http://webhome.idirect.com/~kbmed




More information about the wine-users mailing list