Cross Platform development
-
Does any one know how to make a MFC app compatible to compile and run on Linux, Mac of any other OS? (Without a lot of changes) -Steven Visit Ltpb.8m.com
Looking for more tutorials? Ltpb.8m.com/Tutorial
3D Image Library: Ltpb.8m.com/Image
Surf the web faster than ever: http://www.404Browser.com -
Does any one know how to make a MFC app compatible to compile and run on Linux, Mac of any other OS? (Without a lot of changes) -Steven Visit Ltpb.8m.com
Looking for more tutorials? Ltpb.8m.com/Tutorial
3D Image Library: Ltpb.8m.com/Image
Surf the web faster than ever: http://www.404Browser.comThe one I know is Visual WinMain from Mainsoft. To do the opposite (UNIX to Windows), use MKS Toolkit for Enterprise Developers // Fazlul
Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com
-
Does any one know how to make a MFC app compatible to compile and run on Linux, Mac of any other OS? (Without a lot of changes) -Steven Visit Ltpb.8m.com
Looking for more tutorials? Ltpb.8m.com/Tutorial
3D Image Library: Ltpb.8m.com/Image
Surf the web faster than ever: http://www.404Browser.comThere are some utilities that let you do this, but AFAIK they all are significanlty priced and many charge royalties. You can try converting your app to a cross-platform C++ library, such as wxWindows (which has good Windows and Linux support, and improving Mac support). It is in many ways similar to MFC, but if you have a large app of course this will take some time. :) The good thing is, it can coexist with MFC, so you may be able to do it in pieces. The early bird may get the worm, but the second mouse gets the cheese.
-
There are some utilities that let you do this, but AFAIK they all are significanlty priced and many charge royalties. You can try converting your app to a cross-platform C++ library, such as wxWindows (which has good Windows and Linux support, and improving Mac support). It is in many ways similar to MFC, but if you have a large app of course this will take some time. :) The good thing is, it can coexist with MFC, so you may be able to do it in pieces. The early bird may get the worm, but the second mouse gets the cheese.
Navin wrote: You can try converting your app to a cross-platform C++ library, such as wxWindows (which has good Windows and Linux support, and improving Mac support). It is in many ways similar to MFC, but if you have a large app of course this will take some time. The good thing is, it can coexist with MFC, so you may be able to do it in pieces. I have a fair amount of cross-platform (Windows/Mac) experience, and IMHO the best way to write a cross-platform application is to abstract out the user interface, and write the rest as portably as possible. Then implement the UI portion using a good platform-specific class library for each platform (e.g. MFC on Windows, PowerPlant on the Mac). Yes, it is more work, but it won't scream "THIS IS A PORT" to savvy users. BTW: separating the UI from the core functions of the app has plenty of other advantages, like making it easier to add scripting. - Rich I don't know about ignorance, and I don't care about apathy, but I simply will NOT put with intolerance!