How to Calling PE Dlls on linux??

Roderick Colenbrander thunderbird2k at
Mon Aug 20 09:46:25 CDT 2007

> I have a PE Dll named Arithmetic.dll which exports a function,
> it's prototype is:
> void sort(unsigned int*, int num)

The easiest way would be to use LoadLibrary/GetProcAddress to load the 
function from the library. That way you avoid linking to it which makes 
things more complicated.

In order to be able to use wine functions you need to (re)compile parts of 
your program using Winelib (e.g. winegcc/wineg++). Your program will depend 
on Wine but you will be able to use the win32 dll.

Roderick Colenbrander

More information about the wine-devel mailing list