- how to use in linux programs?

Boaz Harrosh boaz at
Tue Feb 1 09:24:34 CST 2005

Luke Kenneth Casson Leighton wrote:

> ... i am kinda looking for something with a Makefile, compiles and
> links against Wine directly - under linux not windows.
> i am inclined to rip bits of code out of Wine (parts of header
> files so far) until i can get to grips with it.
It looks like what you are looking for is a vanilla Winelib application. 
It compiles on Linux with a Makefile it can freely be linked to any 
Linux resource/Library and in turn also use Wine or native windows DLLs. 
Only thing is that it is executed under the Wine loader and must keep 
some linking and structure rules special for wine. Once it works it is 
easy to take code from a Winelib App and make it a Winelib  DLL.

So Just look at the Winelib programmer's guide (On Winehq) documentation 
on how to make a Winelib application.

Hope that helps
Free Life

More information about the wine-devel mailing list