Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Use MFC or SDK

Use MFC or SDK

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
13 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    I'm a not exactly a veteran in C++, but I know my way around. I want to get into Windows programming, rather than console. I've heard of SDK and MFC. What is what and which do I want and what advantages are there to each? From what I've seen, SDK is much simpler, but is it better?

    N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #4

    If your program is GUI intensive go for MFC which makes things a lot easier. But if you are doing some winsock stuff use plain SDK. The MFC socket classes have their own problems. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

    1 Reply Last reply
    0
    • L Lost User

      Ok, that answers one question. But the other is, where do I learn these SDK functions? What is the search term to use? I've crawled the web for about an hour now and I can't find anything. What is a good tutorial that defines all the functions and does a good job explaining everything. Thanks.

      D Offline
      D Offline
      Derek Waters
      wrote on last edited by
      #5

      Try msdn.microsoft.com ------------------------ Derek Waters derek@lj-oz.com

      1 Reply Last reply
      0
      • L Lost User

        Ok, that answers one question. But the other is, where do I learn these SDK functions? What is the search term to use? I've crawled the web for about an hour now and I can't find anything. What is a good tutorial that defines all the functions and does a good job explaining everything. Thanks.

        A Offline
        A Offline
        Atul Dharne
        wrote on last edited by
        #6

        Anonymous wrote: But the other is, where do I learn these SDK functions? The Win32 programming bible "Programming Windows" by Charles Petzold covers Win32 SDK. There is a good tutorial at Relisoft Happy Windows Programming!! Atul Sonork 100.13714 netdiva

        1 Reply Last reply
        0
        • L Lost User

          Ok, that answers one question. But the other is, where do I learn these SDK functions? What is the search term to use? I've crawled the web for about an hour now and I can't find anything. What is a good tutorial that defines all the functions and does a good job explaining everything. Thanks.

          J Offline
          J Offline
          Jon Sagara
          wrote on last edited by
          #7

          Here is a tutorial: http://www.winprog.org/tutorial Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

          1 Reply Last reply
          0
          • L Lost User

            I'm a not exactly a veteran in C++, but I know my way around. I want to get into Windows programming, rather than console. I've heard of SDK and MFC. What is what and which do I want and what advantages are there to each? From what I've seen, SDK is much simpler, but is it better?

            M Offline
            M Offline
            Michael Dunn
            wrote on last edited by
            #8

            You should absolutely start at the API level. Don't even think about getting into MFC until you are comfortable using the straight APIs. (Yes, I know, others will disagree with me; my opinion is based on my own experience and that of other programmers I know.) --Mike-- "There are only a limited number of jobs where they will ask to see the sausage. Most of them are in movies."  -- Christian Graus, 2/11/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

            R A R 3 Replies Last reply
            0
            • M Michael Dunn

              You should absolutely start at the API level. Don't even think about getting into MFC until you are comfortable using the straight APIs. (Yes, I know, others will disagree with me; my opinion is based on my own experience and that of other programmers I know.) --Mike-- "There are only a limited number of jobs where they will ask to see the sausage. Most of them are in movies."  -- Christian Graus, 2/11/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

              R Offline
              R Offline
              Rick York
              wrote on last edited by
              #9

              FWIW Mike, I agree completely. :)

              1 Reply Last reply
              0
              • M Michael Dunn

                You should absolutely start at the API level. Don't even think about getting into MFC until you are comfortable using the straight APIs. (Yes, I know, others will disagree with me; my opinion is based on my own experience and that of other programmers I know.) --Mike-- "There are only a limited number of jobs where they will ask to see the sausage. Most of them are in movies."  -- Christian Graus, 2/11/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

                A Offline
                A Offline
                alex barylski
                wrote on last edited by
                #10

                Couldn't agree with you more. "An expert is someone who has made all the mistakes in his or her field" - Niels Bohr

                1 Reply Last reply
                0
                • M Michael Dunn

                  You should absolutely start at the API level. Don't even think about getting into MFC until you are comfortable using the straight APIs. (Yes, I know, others will disagree with me; my opinion is based on my own experience and that of other programmers I know.) --Mike-- "There are only a limited number of jobs where they will ask to see the sausage. Most of them are in movies."  -- Christian Graus, 2/11/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

                  R Offline
                  R Offline
                  Ravi Bhavnani
                  wrote on last edited by
                  #11

                  Bingo. /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

                  1 Reply Last reply
                  0
                  • L Lost User

                    I'm a not exactly a veteran in C++, but I know my way around. I want to get into Windows programming, rather than console. I've heard of SDK and MFC. What is what and which do I want and what advantages are there to each? From what I've seen, SDK is much simpler, but is it better?

                    A Offline
                    A Offline
                    alex barylski
                    wrote on last edited by
                    #12

                    I know you have plenty of replies, but in a question like this it's best to have many answers to one problem so you can better make the decision yourself. Like all have said already...Start with SDK...it doesn't hide anything from you. SDK code is longer in source, but actually complies smaller...lots in some cases. MFC is basically a wrapper for the SDK...you'll hear that lots. It performs steps which you would normally have to do yerself, but maybe not always nessecary. These steps make developement quicker in MFC, but only once you understand the ins/outs of SDK. Start with SDK...definetly...then move to MFC definetly. Try designing MDI applications in SDK and you'll soon discover MFC is awesome. Plus Visual C++ tools cater to MFC more so than SDK. AppWizard generates a hello world for SDK and entire app (just fill in the blanks) in MFC. MFC has helper classes which are awesome...CString to mention a few...will assist you big time. ClassWizard another great feature...message maps, my god i could go forever. Why do i sound pro-mfc...I spent alot of time in SDK not wanting to change, cuz...well it's human nature to go with what you feel comfortable with. Once i did, I never want to go back...it's almost as easy as Visual Basic..it's incredible. SDK is the hard part MFC is a snap...go with the SDK->MFC route. Only use pure SDK if you want less dependables and optimal speed and size. Just my opnion...later! :cool: "An expert is someone who has made all the mistakes in his or her field" - Niels Bohr

                    1 Reply Last reply
                    0
                    • L Lost User

                      I'm a not exactly a veteran in C++, but I know my way around. I want to get into Windows programming, rather than console. I've heard of SDK and MFC. What is what and which do I want and what advantages are there to each? From what I've seen, SDK is much simpler, but is it better?

                      N Offline
                      N Offline
                      Navier
                      wrote on last edited by
                      #13

                      I'd agree with pretty well everyone. Do at least some SDK stuff first as a 'training' exercise. If you need heavy GUI support though go striaght to MFC. The effort it saves is worth the fact that you won't have much of a clue about what is going on under the hood. One caveat I'd add though is that MFC is a bit flaky in places (someone rightly mentioned WinSock which is absolute pants under MFC) and it's not nice wading through the src to find out whether it's you or Bill's little Elves that have cocked up. Especially if you don't really know what you're doing. i1.2sqrt(u).bcos(ur)sec(c) but b4.isqrt(u).ru/16

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups