flinux icon indicating copy to clipboard operation
flinux copied to clipboard

Is it possible to use multi platform libraries?

Open yousry opened this issue 10 years ago • 1 comments

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?

yousry avatar Apr 02 '15 07:04 yousry

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.

wishstudio avatar Apr 10 '15 02:04 wishstudio