Is it possible to use the WINE functionality from inside regular ELF application. For example starting and debugging Windows application. Creating windows, etc.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2014-05-03 12:17, schrieb John Found:
Is it possible to use the WINE functionality from inside regular ELF application. For example starting and debugging Windows application. Creating windows, etc.
Sort of. See http://wiki.winehq.org/Winelib . You can create a Windows application that is an ELF binary and can link normally to other Linux libraries. But this binary has to run inside a full Wine environment.
You probably want to simply do -luser32 -lkernel32 when linking your application and not bother about the rest of the Wine environment. Unfortunately this is not possible - there are parts of the Windows API that need more than just a library, like the Windows registry.