Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting a C Windows program to C++ using MFC

Status
Not open for further replies.

weberm

Programmer
Dec 23, 2002
240
US
I have an old Windows program written in C that was partially converted to C++ but doesn't use MFC. I wondered if anyone's had experience converting such a program to use MFC before to judge if it's worth the effort or if it's better to leave well enough alone or to start a new version from scratch.
 
Converting code to MFC normally results in a larger executable. You also have dependencies on particular versions of MFC unless you link statically. Instead of converting to MFC, why not convert to WTL. Looks the same as MFC but it is template based and ends up with a very much smaller executable.
 
It's sounding like I should leave well enough alone, but I'll take a look at WTL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top