|
-
Sep 21st, 2001, 06:23 PM
#1
Thread Starter
Lively Member
What is MFC?
I know MFC = Microsoft Foundation Class, but what exactly is it? Is it the only way to create programs with a GUI, or what?
I tried the MFC wizard in Visual C++ and ended up with a bunch of links and other stuff, Classes, Source Code files, and that was just for a SDI (single Document Interface)!
-
Sep 21st, 2001, 07:45 PM
#2
Fanatic Member
MFC is a bunch of classes that simplify Windows programming, but they a) are slow, b) require runtimes, and c) hide from you what's going on. In short, MFC = bad.
Alcohol & calculus don't mix.
Never drink & derive.
-
Sep 21st, 2001, 07:54 PM
#3
PowerPoster
if you are gonna use MFC, you might as well just save time and use VB
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Sep 21st, 2001, 10:08 PM
#4
PowerPoster
Microsoft Fully Crap

(BTW use the above answers)
-
Sep 22nd, 2001, 12:03 PM
#5
PowerPoster
Originally posted by Wynd
MFC is a bunch of classes that simplify Windows programming, but they a) are slow, b) require runtimes, and c) hide from you what's going on. In short, MFC = bad.
better go for normal C++ and API function call
-
Sep 22nd, 2001, 04:54 PM
#6
MFC enscapulates the Win32 API to simplify it, but the downside is that you have to lug around the MFC DLLs with you.
While MFC is generally considered bad among lesiure programmers due to its inconvience, some of the large companies require you to work with MFC. Because of that, it's a good idea to know a little MFC (even if you don't plan to work with it yourself).
-
Sep 23rd, 2001, 06:07 AM
#7
Frenzied Member
I am not a favourite of MFC but sometimes it can be your choice because there are some things that are a real hell with Win32 API. Also a lot of proffesional applications written in C++ use MFC.
-
Sep 23rd, 2001, 06:50 AM
#8
vc++ for example is MFC.
MFC extremly simplifies the following:
MDI
Saving complicated data structures
and some others
it also seems to make some things harder.
subclassing
multithreading
It's up to you if you want to use MFC. I like it, and I don't think spped is much an issue for normal applications. If you want to distribute over the internet, you should stay with API however, since the MFC dlls are pretty big (although they should be installed together with windows, you can never count on it)
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|