* JR (jruhsam@pcisys.net) [20000517 22:49]:
I was wondering if anyone here might know if there is a library, or anything else, that would make it easy to port MFC based programs to Linux?
Yes there are such libraries, but prepare to spend a lot of money, because
they are commercial products. The ones I know of are Wind/U from Bristol
Technologies http://www.bristol.com and MainWin from Mainsoft
http://www.mainsoft.com, allthough the latter has only be announced for
Linux and there is Freecell downloadable as a demo. BTW, there's a link to
a review of MainSoft in Dr. DOBBS on Mainsofts web site.
But prepare to spend a few thousand bucks for each (can't really tell,
because Mainsoft has no prices on their web site and Bistols site is
unnavigatable with a text mode browser).
AFAIK, there is no free implementation of the MFC available. There are
libraries like wine, but for wine you would have to program directly to the
win32 API and loose all the ease of a class library like MFC. Allthough IMO
MFC and ease of use are contradictions in terms, leave alone my comments on
MFCs implementation. I wouldn't say that MS doesn't have smart programmers,
but those obviously work on more lucrative projects.
The cheapest way would be to use a library wxwin, which is available for
both Windows. The other alternative would be Qt, which is also available
both for Linux and Windows, but only the Linux version is free. You have to
buy a license for the Windows version from Troll Tech.
Philipp
--
Philipp Thomas