-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 2015-03-25 um 13:18 schrieb Leon Bogaert:
The syscalls I need translated to linux are: - OpenFileMappingW - MapViewOfFile
Today I found out about winelib. I guess I could give that a go. Wine implements those two calls and maps them to the equivalent POSIX functions. Yes, building a Winelib program is the right way to go. It can use the Win32 functions and normal Linux functions at the same time. It does depend on the Wine runtime environment though. Note that your game and your winelib application have to run in the same wine prefix.
In theory you could probably use plain mmap in some way, but then you have to know how Wine maps the Windows object to it's POSIX equivalent. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVFBd4AAoJEN0/YqbEcdMwoXYP/2KyY+gGfNeFZbeuwRdnkpUi XX+a/xtNtpCTN2PFLYd3aqvKu11NCeojxXB1wETcLI0LQ/kjwXL5W/ZuE5X3Eqac stvxp8j+G/5fu+2ZFxt/Fuqi/HPV/P5aGUgdMTgcGQOIUIoHB8qtlNrfDyJ9eC+k xgy0fOkxt5EUlU5QvyaGpDcC0LEpCDS9mtnhkaucV6v+VblAXYWARoonIVm/nsRn 1oKFUgfRAJ4taIIrREeN+e2Z9pqFiX2J/tCQxKMdPvHYQcEjRFyUJfjvC44YdImU bKaMJBPhqDVRWjScRNkY+BCdfbeuFjUfwty8GDGIBQ9/TvLOYoi050/GFU+DIF/h /R4pZDR+MhWtvupEpsSnfewlKHnntRya00rHiRUoDwGV/R4qf1lGDGI8EXWW9Fky lyZb4tUrJGYmDxqIQee5gX3u77y5c8l4UdzLBzx1F6omFHMsWVCMist2ikOUQ0hs K510PIrjIQdqPEwW7rbh4+FymYxKfpN1MCrzSq7R1jo5PX8Txp6PYKp7c/S14nDG 8SON9i6LcbYaYn5U4PuRLRUp2nmbDe0AAaGTDi3s5/gBZFSfmM89p4/1AIHla1Om eVQEGeWLO8lL4IDmll+xEkZrflSa6pFRC1a4VNIom878nXNVTSE3FirbstZM1Jh/ r49GAKVDxmli0Mu2Fbx+ =snGQ -----END PGP SIGNATURE-----