Load a .so from a Windows binary using Wine

Mike Hearn mh at codeweavers.com
Thu May 13 04:41:59 CDT 2004


On Thu, 13 May 2004 09:05:34 +0300, Shachar Shemesh wrote:
> Only winelib apps can technically call a native so, so calling your 
> library directly from the PE is impossible without either employing a 
> proxy, or implementing the linux loader yourself.

You could add a new Wine DLL which simply exports an interface to libdl
directly, assuming the calling conventions are compatible (you could
set the convention when compiling the native DSO). Then it would be
reasonably generic.




More information about the wine-devel mailing list