Use WINE API from ELF application.
Is it possible to use the WINE functionality from inside regular ELF application. For example starting and debugging Windows application. Creating windows, etc. -- asm32.info <johnfound(a)asm32.info>
-----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. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTZh1oAAoJEN0/YqbEcdMwhO0P/1S34BPMLbAiTWahp9LT+iuy 0M2YUe50cCItdVNLpEW4fWc9GEPULGoSSryL6lfxz+JZinak1jtL4eDAG0mHH84K tO/Zhx0i9AdOBruZoWwbJ9H4BVgsQPm08ATdL0c8ApndilKdCPW+3GqO8iNXG8+1 GWwFEYfQKUbqO3cW3OjK26LE1gbOkPWXVlqWgzgrXIon3RHrDjeV7UK4kyZD4+yh pX5I6SPkxaYJoEJMROKT4MpJ4w+k3WnL2WJX18dBesTGNOVmEpjwkehy2zV7VddE uuUvmamtUXN4+laeM1MrUgIFz1A5vfMFYeV9Yw+8wnz07tPtjic0sfy+L00wd3QD 08cC6NMokk6cdAWP2sVKmScScC2/cU7L9tjBn6M0eKpMgLJ3Z0uFFGgLfnRXIYuQ xLMVy2YyZG1T9feC6CFiOUg8FngqNxn7mVbQ1qtRSw/6JAJVCWBdidkZvCx6eYoA oQ4OzebIKUjPFXw5Cqpb/owdw1wTi67CgUk5fwq03jFjqq8IEpKxZNKBIAmVvg74 sy6VoLtYzYCyXKyi+R8A4gvMegemwqIu5xLDBkzMbeXmC27E0MoQ6b2hl5VC/DMQ CaNECuiciaER59VA9D/Z++t2Hp0TgPom+5lKVT8FEz0miiwLww1wDjDvfRQYRBX6 1v/ZES18LTcRAm5AEgh7 =ywNI -----END PGP SIGNATURE-----
participants (2)
-
John Found -
Stefan Dösinger