Porting a Windows application to Linux can be easier than you expect ...
Are You looking for linux equivalent functions to Windows critical sections, threads, handles etc. Well, here you found it!
Porting Windows applications to Linux can result to an unpredictable time consuming process especially with OS dependend task like threads, events, critical sections, shared libraries, INI files.
The majority of Windows applications were developed without considering the need to port them ever to Linux or at least in the near future. For some Windows applications porting them to Linux can become a porting nightmare. Using the right tools it doesn't have to be one.
The Windows to Linux Porting Library (W2LPL) offers a Windows (WIN32 API) style API under Linux and enables a smooth port of an Windows application to Linux.
The Windows to Linux Porting Library (W2LPL) eases the transition from a Windows API application to a Linux application by offering some of the most wanted features from the Windows API inside the Linux environment e.g.
Handling of Threads
Handling of Shared Libraries (.so)
Handling of Critical Sections
Handling of profile files (INI files)
Searching for files
Sleep & Timing
WIN32 API C/C++ Types
... and other helper functions.
Please also consult the manual for more details.
The Windows to Linux Porting Library (W2LPL) offers portable functions to incorporate into a Linux 32 bit or 64 bit application.
Speed-up your Windows to Linux port and create a stable Linux application by using the Windows to Linux Porting Library (W2LPL). It is already in use in known commercial developments e.g. SuperCom for Linux.
Customer's of the W2LPL library are encouraged to post requirements so our engineers can research if a required feature can be implement in order to ease the porting of even more specific parts.
By using the Windows to Linux Porting Library (W2LPL) one also profits from professional technical support offered.
And, if your application does Serial or TCP data communications consider the many options of SuperCom, the portable data communication toolkit.
One license per developer. A site license can be used by an unlimited number of developers working for the same entity (e.g. company) within the same physical location (building or city limits).
Executables developed using the W2LPL library can be distributed royalty free. More ...
C, C++, Pascal, and any other compiler / language using Linux shared libraries (.so). Optionaly, a C/C++ static library can also be provided.
Linux 2.4 or newer and also to it compatible OS.
Q: Will this library port GUI code blocks also ?
A: W2LPL supports a function set as listed in the manual. The GUI is a huge part and W2LPL does offer any support for this.
F: no #ifdef's ?
A: The W2LPL library enables to compile a common source code in Windows and Linux. In order to enable this equivalent functions were implemented for Linux.
F: Speed ?
A: The W2LPL library is well designed and optimized. By using ready made and matured functions the application can gain stability and under circumstances some speed advantage. But the major profit is the short path required to port a Windows application to Linux.
Windows to Linux Porting Tools -- Library to easily port a Windows application to Linux -- Win32 to Linux library -- Port Windows Application to Linux -- Critical Sections -- Event Handles -- Thread