MFC programming

This is a discussion on MFC programming within the C++ Programming forums, part of the General Programming Boards category; Well i have a question .First of all should i start with WindowsAPI or MFC ?? .I mean which one ...

  1. #1
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356

    MFC programming

    Well i have a question .First of all should i start with WindowsAPI or MFC ?? .I mean which one is easier to use and has more functionallity .I have a book on MFC sams visual C++ in 21 days is it goods .Please any suggestion ..
    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

  2. #2
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    go with API, you'll be much happier.
    Look into petzolds book Programming Windows Fifth Edition.
    PHP and XML
    Let's talk about SAX

  3. #3
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356
    Okay alil explanation why use windowsAPI instead of MFC would help ..I just want to know why is windowsAPI better than MFC isnt it easier to creat frames and stuff like that in MFC .
    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

  4. #4
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    i don't know about easier...but it's quicker with mfc to generate a GUI. But it's very hard to set up your programs code....everything important is buried deep inside the mfc dlls and precompiled headers....you'll learn much more with the API.
    PHP and XML
    Let's talk about SAX

  5. #5
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361
    Straight from the FAQ board...
    FAQ: What is MFC?
    Particularly pay attention to what adrianxw says.

  6. #6
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356
    Hey thanks alot eibro that was the type of reply i was looking forward to, and i was looking for this thread..WEll thans alot at least the confusion i had is over>(WindowsAPI is the choice).
    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

  7. #7
    Registered User datainjector's Avatar
    Join Date
    Mar 2002
    Posts
    356
    This is what i got ...Just to help some of u guys who dont really know if MFC is better or WindowsAPI

    Dear Karan,
    The truth is that MFC is just a light wrapper around Win32 APIs. It's
    actually some C++ classes that hides the API calling details from the
    programmer. I shall confess that it makes GUI programming a joy, since you
    don't have to address complicated issues of Win32 APIs. So I personally
    recommend using MFC on GUI applications! On the other hand, this doesn't
    mean that you cannot use Win32 APIs within an MFC application both together.
    You can *always* call whatever API you would like even in an MFC
    application. However, there are always some overheads when using MFC, e.g.,
    you should have MFC DLLs installed on your target machine.

    MFC doesn't give you any suppport in security arena so that you are on your
    own. You have to know COM (as well as Win32) if you are going to interact
    with those Encryption/Descryption, SSL/TLS, SmartCard APIs and all of those
    security benefits that the platform exposes. MFC has got nothing to do with
    them!

    To start, I recommend you reading Win32 vs MFC - Part I and II here at
    http://www.codeproject.com/cpp/mfc_architecture.asp and
    http://www.codeproject.com/cpp/mfc_architecture2.asp respectively. I've had
    a rough time to explore things I've mentioned here in these articles.

    Anyhow, if you have got further question, please do not hesitate to ask
    them.

    Sincerely,
    --
    Mehdi Mousavi - Software Architect [ http://mehdi.biz ]
    "I wish i could wish my wishs away"

    "By indirections find directions out" -- William Shakespears

    "Do what thou wilt shall be the whole of the law" -- Crowley "THE BEAST 666"

    Mizra -> love = Death...
    RDB(Rocks yooo)..

    http://www.cbeginnersunited.com

    Are you ready for the Trix ???

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  2. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM
  3. Understanding The Future of MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-15-2002, 09:08 PM
  4. Beginning MFC (Prosise) Part III - Now What? :: C++
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 03-03-2002, 05:58 PM
  5. MFC is Challenging :: C++
    By kuphryn in forum C++ Programming
    Replies: 8
    Last Post: 02-05-2002, 12:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21