using win32 api in linux?
I have heard of WINE but I don't like it because it's slow on the computers I have tested and almost always crashes. It also has some unpleasant looking gui.
I am wondering if 开发者_如何学Cthere is a "win32" library in c/c++ for linux that produces native linux code so that if I have my source code for windows, I can just recompile and produce a working linux application. Is this possible?You're looking for Winelib.
What you want is a portable library, e.g. Boost or Qt.
I dont think you will find something that complete. But if you look for something that provides some windows API under Linux then look at: windows to linux port library
精彩评论