944,047 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 2119
  • C++ RSS
May 1st, 2007
0

what on earth is MFC

Expand Post »
hello,

I saw option of MFC project in VS2005 and I d like to know what MFC is, and what can we do with MFC.

I presume MFC is C++ based, but does it need any framework? And whats the difference betwen Winapi and MFC? What can you actually do with MFC?

I know google is the best friend, but Id also like to hear some advanced opinions and recommandations.



Thanks in advance
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006
May 1st, 2007
0

Re: what on earth is MFC

MFC is a (large) collection of classes for writing Windows applications in C++. It's a wrapper around the Win32 API.
Administrator
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
May 1st, 2007
0

Re: what on earth is MFC

so I can write a Winapi app, and add MFC stuff?
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006
May 1st, 2007
0

Re: what on earth is MFC

>so I can write a Winapi app, and add MFC stuff?
It's easier if you just recreate your program with MFC, rather than add MFC to an existing Win32 program.
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
May 4th, 2007
0

Re: what on earth is MFC

But, I am learning Win32 programming for months now...I dont wanna start all over again...I think I will stay on Win32

thanks for help
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006
May 4th, 2007
0

Re: what on earth is MFC

>what on earth is MFC
Crap,
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
May 4th, 2007
0

Re: what on earth is MFC

I MFC Most things (but not all) are a lot easier with it. If you have been working with pure win32 api for the past year or so you won't have to learn everything all over again, and you can still use win32 api functions within an MFC program. MFC is really a heavy-weight wrapper around win32 api. If you want to write an MDI program then MFC can't be beat because the Microsoft compiler will generate a workable program for you in just a few clicks. I (or anyone else for that matter) can write a program with MFC in 1/4th the time that someone else will write it with pure win32 api. Sort of like the difference between writing a program with assembly or C language. Assembly is rarly ever manually used any more because it is a great deal faster easier to write it in C, C++ or other higher-level languages.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,954 posts
since Aug 2005
May 5th, 2007
0

Re: what on earth is MFC

Hey dragon,

Thanks for your post. Well I'll check a bit around and decide about MFC.

But for now, Ill stay on Win32 because od wow project.
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006
May 5th, 2007
0

Re: what on earth is MFC

No, don't bother. win32 and the dotnet is all you need to worry about on windows.
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
May 5th, 2007
0

Re: what on earth is MFC

thanks for opinions
Reputation Points: 27
Solved Threads: 2
Posting Whiz in Training
jan1024188 is offline Offline
254 posts
since Aug 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: C Software Programming..
Next Thread in C++ Forum Timeline: small question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC