SHARE
Facebook X Pinterest WhatsApp

developerWorks: Porting MFC Applications to Linux

Written By
thumbnail
Web Webster
Web Webster
Apr 20, 2002

[ Thanks to Irish
for this link. ]

“Still maintaining that legacy Windows application built using
Microsoft Foundation Classes (MFC), but now you have clients
requesting a Linux version? You may have highly skilled MFC
developers on your team, but how do you come up to speed with Linux
development? Don’t panic; this article is for you. With the help of
wxWindows, a portable GUI toolkit for C++ and Python, I’ll show you
how to port a Windows-only MFC application to Linux using a
Multiple Document Interface (MDI) text editor as an example. A
small application like this helps focus the discussion on the nuts
and bolts of porting the framework and prevents us from getting
lost in a sea of code. Complete source code for both the MFC
application and the wxWindows application is available in the
Resources section later in this article.

“The application I’ll illustrate uses the well-known
document/view architecture, since it deals with documents as most
applications do. Even if your application does not use the
document/view architecture, I recommend you read on. You might want
to add this feature as long as you’re already switching the
framework…”


Complete Story

thumbnail
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Recommended for you...

5 Best Free and Open Source Text Expander Tools
webmaster
Jun 13, 2025
Grafito: Systemd Journal Log Viewer with a Beautiful Web UI
Bobby Borisov
Jun 12, 2025
FreeBSD Wants to Know a Few Things
brideoflinux
May 11, 2025
NVK enabled for Maxwell, Pascal, and Volta GPUs
Kara Bembridge
May 1, 2025
Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.