Solved

free compiler with MFC?

Posted on 2002-06-12
9
415 Views
Last Modified: 2013-11-20
Is there a free C++ compiler available on the internet which I can use to compile windows programs that use MFC?  Or does using MFC require using a Microsoft compiler?  Is there a licensing issue here?  Does Microsoft offer the MFC libraries as free to use, or do you buy a license to use MFC in your apps when you buy a license to MS VC++?
0
Comment
Question by:ris
  • 4
  • 3
  • 2
9 Comments
 
LVL 8

Expert Comment

by:fl0yd
ID: 7073900
MFC basically is source-code to encapsulate the win32-API and make it faster to get your projects running. The MFC-src and -header files are shipped with ms vc++; I can't help you on the question whether a licence is needed to use those files.
0
 
LVL 7

Accepted Solution

by:
peterchen092700 earned 25 total points
ID: 7074877
0
 
LVL 8

Expert Comment

by:fl0yd
ID: 7074966
I checked your provided link... No information there as to whether it comes with MFC sources or at least headers/libs to be able to link dynamically/statically. Do you know?
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 7075157
I worked with the commercial verison of Watcom C++ until Ver. 11.0. They included MFC sources & libraries, and you could compile the MFC samples that come from microsoft.
However, since you can't import a VC++ project, and there's no MFC wizards there's a lot of manual work involved when writing a decent MFC app with Watcom.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 8

Expert Comment

by:fl0yd
ID: 7075177
Hey ris,
   I take your question asking for a free compiler as an indication that you're starting to do programming. If I'm right, you'll have a really hard time getting to use MFC without any wizards. I'd even go as far as saying that openwatcom is of no help to you, unless you have a thorough understanding of all the MFC-macros and basic win32-programming.
0
 
LVL 1

Author Comment

by:ris
ID: 7075467
I thought I had posted a clarification to my question yesterday, but I guess it didn't go through, so to try again...

I am familiar with windows programming using MFC - but ONLY using MFC (I have read about raw win32 API programming without MFC but never done any).  I do some small degree of windows app development and control panel type stuff for the software company I work for, but mostly they have me doing low level programming for things like device drivers.

I'd like to start writing some windows apps at home in my spare time (i.e. shareware) but I don't have a compiler, and I'd rather not buy one if I can help it, which is why I asked about this.

Floyd ~ I see what you are saying about the wizards being so useful - I completely agree.  I think I have enough experience with MFC though to get by without the wizards.  I could even make my own template files just like the microsoft appwizard templates if I want.  And there's the MSDN online reference at microsoft.com if I need it.

I think the visual resource editor is actually what I would miss the most.  I assume that Open Watcom can at least compile resource scripts (.rc files) since those are so common in C++ programs.  It doesn't also have a visual resource editor does it?  Does anyone know of a free visual resource editor I could pick up somewhere?  I've seen plenty of code editors around and I have a few of those, but none of them have visual resource editors for friendly dialog creation, and I'm not very familiar with the syntax of a resource script to do it manually...
0
 
LVL 1

Author Comment

by:ris
ID: 7075486
Open Watcom looks like just what I was looking for.  Thank you very much.

I'm still wondering about a free visual resource editor... are there any?

Would anyone like to comment on their favorite free code text editor with syntax highlighting and search-across-files?  I have a few of these but there are so many...
0
 
LVL 8

Expert Comment

by:fl0yd
ID: 7075558
no problem, ris, just wanted to make sure that you're not accepting an answer that you will find out didn't help you in the future.
Two more notes on MFC though:
* You say that there is the MSDN online reference. While that is true I wouldn't count on finding MFC-resources there in the future. The MFC-documentation has been officially put down by MS about 2 years ago.
* Like I stated before I doubt that anyone can safely use MFC without knowing raw-win32-coding. Especially when it comes to more advanced GDI functions you are likely to get lost using a black box without knowing what's going on inside.
0
 
LVL 1

Author Comment

by:ris
ID: 7075623
Floyd ~ This is straying from the topic, but when you say that "The MFC-documentation has been officially put down by MS" what does that mean?  Do you mean just the online version of the documentation is no longer maintained?  I don't understand how MS could maintain a code library as vast and complex as MFC without maintaining documentation for it, especially considering how much they push its use on everyone.  Could you elaborate on that statement, or post a link to the "official" microsoft statement on the subject, because I'm a bit confused by it...
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now