Wine preloader redux

Alexandre Julliard julliard at
Tue Mar 4 07:20:49 CST 2008

"Dan Kegel" <dank at> writes:

> The scenario I'm imagining is:
>  Lots of people want to use a particular windows dll in their Linux apps.
>  Joe Developer writes a nice wrapper library using winelib to hide
>  the fact that win32 is involved at all.
>  Fred Developer uses Joe's library in his app.
>  Currently, Fred has to switch his app around to be run via the wine preloader.
>  With the scheme Mike was thinking of in
>  Fred wouldn't have to do that; he'd only have to link in a static
>  library (named, say, wine-reserve-win32-vma.a), and then
>  link in Joe's library any old way.
> That sounds a lot easier to me.  Did I miss something?

I'm not sure you can do the ELF magic with a static library, but even if
you could there's a lot more to the initial setup than the preloader;
that's why winelib apps are shared libraries, so that we can do all the
work that needs to be done before they get loaded.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list