We discourage you from using winelib. It is not a simple library you can just use to load win32 dlls. You would need to recompile your whole app using winelib (using winegcc/wineg++). Your app will become a hybrid win32/osx program a 'winelib' program and needs to be run using Wine itself. Under the hood wine needs to emulate the registry, windows memory layout and other things before win32 dlls can work. It is a route which I won't recommend you to take.