Porting MFC to run under Linux
-
What are the options when one wants to port an MFC application to run under Linux? Is the their a porting tool that enables this to be done? Joel VssConnect - Remote SourceSafe(r) Access http://www.voxcode.com[^]
I heard 'Windows' is a really cool way to run MFC apps.
"I have a strange ginger man living on my roof!"
Jonathan 'nonny' Newman Homepage [www.nonny.com] [^] -
I heard 'Windows' is a really cool way to run MFC apps.
"I have a strange ginger man living on my roof!"
Jonathan 'nonny' Newman Homepage [www.nonny.com] [^]Jonny Newman wrote: I heard 'Windows' is a really cool way to run MFC apps. Yeah, I still can't believe that Microsoft won't let us run Microsoft Foundation Classes on other platforms, I mean who do they think they are? The creators of MFC? Matt BURN HIM! - David Wulff
-
What are the options when one wants to port an MFC application to run under Linux? Is the their a porting tool that enables this to be done? Joel VssConnect - Remote SourceSafe(r) Access http://www.voxcode.com[^]
MFC is very tied to Windows, it is (for the most part) a thin layer over Win32 APIs. Not the best choice for a cross-platform app. That being said, some options might be: Wine/[^] - stands for Wine's not an emulator - it allows some Windows programs to run on Linux. There may be more to it, too, such as libraries, etc. The other option is to gradually port your MFC app over to a cross-platform framework, such as wxWinows*[^]. It's easier if you can write an app from scratch, but it can co-exist with MFC, allowing you to do it in pieces. Along those lines, there's also VCF[^]. There may be other libraries and frameworks and stuff out there if you are willing to pay enough $$$. If you're lucky, perhaps some day the .NET framework will run on Linux[^] and you might be able to port your apps to managed C++ or C# or something. But I'll believe it when I se it. :| Good luck, and may the force be with you. :-D * Caution: addictive! Since starting using wxWindows, I can't stop. If I have to write throw-away or temporary code, I use MFC, but for real apps, I now use wxWindows, even for plain Windows apps. "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein
-
I heard 'Windows' is a really cool way to run MFC apps.
"I have a strange ginger man living on my roof!"
Jonathan 'nonny' Newman Homepage [www.nonny.com] [^]The sad thing is... with VS.NET, most MFC apps won't run on all versions of Windows... unless you tweak them to delay-load certain DLLs that don't exist on all platforms. I think I liked MFC from VS 6.0 better than MFC from VS.NET. The same exact code compiled with 6.0 will work on MORE platforms than the same code compiled with VS.NET! "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein
-
MFC is very tied to Windows, it is (for the most part) a thin layer over Win32 APIs. Not the best choice for a cross-platform app. That being said, some options might be: Wine/[^] - stands for Wine's not an emulator - it allows some Windows programs to run on Linux. There may be more to it, too, such as libraries, etc. The other option is to gradually port your MFC app over to a cross-platform framework, such as wxWinows*[^]. It's easier if you can write an app from scratch, but it can co-exist with MFC, allowing you to do it in pieces. Along those lines, there's also VCF[^]. There may be other libraries and frameworks and stuff out there if you are willing to pay enough $$$. If you're lucky, perhaps some day the .NET framework will run on Linux[^] and you might be able to port your apps to managed C++ or C# or something. But I'll believe it when I se it. :| Good luck, and may the force be with you. :-D * Caution: addictive! Since starting using wxWindows, I can't stop. If I have to write throw-away or temporary code, I use MFC, but for real apps, I now use wxWindows, even for plain Windows apps. "When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity." - Albert Einstein
Navin wrote: If you're lucky, perhaps some day the .NET framework will run on Linux You can already run .NET on FreeBSD and MacOSX (theoretically any BSD though). Matt BURN HIM! - David Wulff
-
What are the options when one wants to port an MFC application to run under Linux? Is the their a porting tool that enables this to be done? Joel VssConnect - Remote SourceSafe(r) Access http://www.voxcode.com[^]
-
Navin wrote: If you're lucky, perhaps some day the .NET framework will run on Linux You can already run .NET on FreeBSD and MacOSX (theoretically any BSD though). Matt BURN HIM! - David Wulff