I like almost everything with regard to the DFL GUI toolkit for D, except that it only works on Windows, because it is basically a beautiful, high-level shell around the Windows API. How difficult would it be to simply port such tools to Linux (I don't care about any other OS besides Windows and Linux) using Winelib? What are the chances that if I compiled such a library on Linux and linked it to Winelib, then it basically "just worked"? What non-obvious steps can be involved?
Note. For those who are not familiar with the D-methods of working with C code, C code can be called directly from D. You just need to translate the header file to D (this is already done for Win32 headers, but I'm not sure that Winelib headers are even needed translate or if the Windows headers are good enough.) compile the C code with the C compiler and link it to the C object files.
winelib , . Winelib , x86 (, linux ppc). , Windows ( ).
, , - , API Win32 , DLL DFL ( , winelib).
, , winelib, DLL, api, .:)