flinux
flinux copied to clipboard
Is it possible to use multi platform libraries?
Many graphics and multi-media libraries have system-specific implementations but otherwise identical interfaces. For example GTK, QT, pulseaudo, GLUT etc. Is it possible to directly call the host (Win) libs instead of the client (Linux) ones?
This is possible and there is projects like libW11 which translates Xlib calls to Win32 calls.
One potential issue I can think of is how to handle fork(). Since when we are using Win32 API or other DLLs, their memory and resources are not managed by us.