https://bugs.winehq.org/show_bug.cgi?id=54015
Eric Pouech eric.pouech@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@gmail.com
--- Comment #4 from Eric Pouech eric.pouech@gmail.com --- (In reply to Bernat Arlandis from comment #2)
(In reply to Fabian Maurer from comment #1)
If I'm not completely wrong, making a winelib application allows you to use windows functions and unix functions at the same time. Would that be a solution?
Say I want to port a Python application that is already fully cross-platform except for the incompatible mmap calls. This is a real case we are trying to solve.
Writting a new application when there's already one that works isn't a good solution.
Is there a way we could use winelib from Python? I need to see an example of the Python lines above ported to Winelib using Python if possible.
that's not an easy task: - python likely requires you to load a shared lib from which you can export functions callable in python - then you need to insert wine code in that shared lib. Depending on exec models and lots of other quirks, it may or may not work. - if it doesn't, the trick would be to split the effort in two. shared lib on one hand (that does the mapping - note that wine doesn't use shm but (temporary) file mappings instead) and wine app on the other one (that's requested by shared lib to get the relevant (temp) file by its name)
Perhaps another wAYould be to simply use the windows' python exec (didn't try it,and it may w