Click here to Skip to main content
12,620,840 members (35,490 online)
Click here to Skip to main content
Add your own
alternative version


31 bookmarked

An alternative to VC++ and MFC

, 17 Oct 2003
Rate this:
Please Sign up or sign in to vote.
The article describes a platform independent alternative to VC++ and MFC

Sample Image - VisualWx.gif


If you are looking for an Open Source Free alternative to the VC++, gcc is the right choice. GCC is the GNU Compiler Collection, which currently contains front ends for C, C++, Objective-C, Fortran, Java, and Ada, as well as libraries for these languages. It is available for almost all the platforms. Here I will describe the various distributions of gcc and tools for Windows platform. The home page of gcc is at

GCC Distributions

There are two major windows distributions for gcc, CygWin and MingW.


Cygwin is a Linux-like environment for Windows. It acts as a Linux emulation layer providing substantial Linux API functionality and it also provides Linux look and feel. In this environment it provides gcc for creating your windows programs.


MingW is Minimalist GNU For Windows. Following is the description of MingW from there site

MinGW: A collection of freely available and freely distributable Windows specific header files and import libraries combined with GNU toolsets that allow one to produce native Windows programs that do not rely on any 3rd-party DLLs.

Besides the compiler it includes make tool, resource compiler, Profiler (gprof), strip ( for stripping debug information to make executable's size smaller), debugger, library archiver and many more tools.

Development Environments - DevC++

There are many development environments which can be used for developing with gcc. DevC++ is one of them. It comes with mingW version of gcc. But it can be also used in combination with CygWin. It has nice support for creating projects, source level debugging, profiling etc.

Windows Framework - wxWindows

Using a C++ compiler with a development environment and win32 api calls we can create windows applications. But it is much easier to write programs if we have a Windows Framework like MFC. There are many such platform indendent GUI frameworks available. I personally like wxWindows. It is a MFC type GUI framework and comes with many sample programs to get you started. A dialog editor also comes with it to visually create dialogs. Various libraries like jpeg, tiff, zlib , png and regular expression are also included with it.

A tool named visualWx is available freely which lets you create GUI applications visually for wxWindows. The screenshot at the top shows this tool. It has support for wxWindows for c++, python and perl.


Using the combination of a free compiler (gcc), a development environment (DevC++) , A GUI Framework (wxWindows) and a visual GUI editor (visualWx) we can find a platform independent alternative to Microsoft's Visual C++.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Gurvinder Singh
Web Developer
Cyprus Cyprus
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralCodeBlocks - By far best free GUI Pin
John M. Drescher25-Jul-07 2:50
memberJohn M. Drescher25-Jul-07 2:50 
GeneralVisualWx gives me errors! Pin
Anonymous5-Sep-05 11:00
sussAnonymous5-Sep-05 11:00 
GeneralRe: VisualWx gives me errors! Pin
Darth_Sulfur5-Sep-05 11:06
memberDarth_Sulfur5-Sep-05 11:06 
Generaleclipse/CDT Pin
hiron3hiron21-Apr-05 6:30
memberhiron3hiron21-Apr-05 6:30 
GeneralRe: eclipse/CDT Pin
benjamin2326-Mar-08 13:56
memberbenjamin2326-Mar-08 13:56 
GeneralResources Pin
Anonymous20-May-04 12:17
sussAnonymous20-May-04 12:17 
GeneralRe: Resources Pin
Anonymous3-Aug-04 9:43
sussAnonymous3-Aug-04 9:43 
GeneralGood shed of light Pin
Anthony_Yio4-Dec-03 17:42
memberAnthony_Yio4-Dec-03 17:42 
GeneralReal world coding examples Pin
Michael P Butler19-Oct-03 23:32
memberMichael P Butler19-Oct-03 23:32 
GeneralRe: Real world coding examples Pin
Kochise20-Oct-03 0:25
memberKochise20-Oct-03 0:25 
GeneralRe: Real world coding examples Pin
Gurvinder Singh20-Oct-03 17:58
memberGurvinder Singh20-Oct-03 17:58 
GeneralAutomated apllication code generation ? Pin
Kochise22-Oct-03 0:47
memberKochise22-Oct-03 0:47 
GeneralRe: Real world coding examples Pin
John M. Drescher20-Oct-03 6:42
memberJohn M. Drescher20-Oct-03 6:42 
GeneralRe: Real world coding examples Pin
Gurvinder Singh20-Oct-03 18:01
memberGurvinder Singh20-Oct-03 18:01 
GeneralRe: Real world coding examples Pin
John M. Drescher20-Oct-03 18:07
memberJohn M. Drescher20-Oct-03 18:07 
GeneralTry Pin
TW22-Oct-03 23:33
memberTW22-Oct-03 23:33 
QuestionWhat about Qt ? Pin
Sébastien Lorion19-Oct-03 11:45
memberSébastien Lorion19-Oct-03 11:45 
AnswerRe: What about Qt ? Pin
Gisle Vanem19-Oct-03 13:05
memberGisle Vanem19-Oct-03 13:05 
Because Qt isn't adapted to MingW (yet).

Gisle V.

"If you feel paranoid it doesn't mean they're not after you!" -- Woody Allen
AnswerRe: What about Qt ? Pin
Neville Franks19-Oct-03 13:13
memberNeville Franks19-Oct-03 13:13 
GeneralRe: What about Qt ? Pin
Sébastien Lorion19-Oct-03 17:26
memberSébastien Lorion19-Oct-03 17:26 
GeneralRe: What about Qt ? Pin
Claudius Mokler20-Oct-03 0:12
memberClaudius Mokler20-Oct-03 0:12 
GeneralOpera is based on QT ! Pin
Kochise20-Oct-03 0:28
memberKochise20-Oct-03 0:28 
GeneralRe: Opera is based on QT ! Pin
Claudius Mokler20-Oct-03 0:43
memberClaudius Mokler20-Oct-03 0:43 
GeneralRe: What about Qt ? Pin
EpicBoy20-Oct-03 10:48
memberEpicBoy20-Oct-03 10:48 
GeneralRe: What about Qt ? Pin
Jim Crafton20-Oct-03 5:08
memberJim Crafton20-Oct-03 5:08 
AnswerRe: What about Qt ? Pin
Armel Asselin20-Oct-03 23:20
memberArmel Asselin20-Oct-03 23:20 
GeneralRe: What about Qt ? Pin
Anonymous5-Dec-03 14:46
sussAnonymous5-Dec-03 14:46 
GeneralRe: What about Qt ? Pin
Armel Asselin5-Jan-04 1:06
memberArmel Asselin5-Jan-04 1:06 
AnswerRe: What about Qt ? Pin
ideras21-Oct-03 5:57
memberideras21-Oct-03 5:57 
GeneralImprovement Pin
dog_spawn18-Oct-03 11:40
memberdog_spawn18-Oct-03 11:40 
GeneralRe: Improvement Pin
Gurvinder Singh19-Oct-03 5:55
memberGurvinder Singh19-Oct-03 5:55 
GeneralRe: Improvement Pin
Anonymous19-Oct-03 22:53
sussAnonymous19-Oct-03 22:53 
GeneralRe: Improvement Pin
Armel Asselin20-Oct-03 23:26
memberArmel Asselin20-Oct-03 23:26 
GeneralRe: Improvement Pin
Armel Asselin20-Oct-03 23:28
memberArmel Asselin20-Oct-03 23:28 
GeneralRe: Improvement Pin
TW22-Oct-03 23:24
memberTW22-Oct-03 23:24 
GeneralPortable across many platforms Pin
MiddlePlus18-Oct-03 6:19
memberMiddlePlus18-Oct-03 6:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 18 Oct 2003
Article Copyright 2003 by Gurvinder Singh
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid