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. The Lounge
  3. WTL/ATL or MFC for beginner programmer?

WTL/ATL or MFC for beginner programmer?

Scheduled Pinned Locked Moved The Lounge
c++csharphtmlcomtools
13 Posts 11 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.
  • T Offline
    T Offline
    TigerNinja_
    wrote on last edited by
    #1

    Hi All, What would you recommend to a beginner windows programmer, with knowledge of C++? (WTL/ATL, MFC, WinAPI) Details I am trying to advise an individual on what language to use for programming windows, just as a hobby. The individual has C++ foundation, however, has no windows programming experience. I don't feel I have enough in-depth knowledge to provide a good answer, so I turn to the brainy geeks of CP ;P


    R.Bischoff | C++   .NET, Kommst du mit?

    N B L P M 6 Replies Last reply
    0
    • T TigerNinja_

      Hi All, What would you recommend to a beginner windows programmer, with knowledge of C++? (WTL/ATL, MFC, WinAPI) Details I am trying to advise an individual on what language to use for programming windows, just as a hobby. The individual has C++ foundation, however, has no windows programming experience. I don't feel I have enough in-depth knowledge to provide a good answer, so I turn to the brainy geeks of CP ;P


      R.Bischoff | C++   .NET, Kommst du mit?

      N Offline
      N Offline
      Nitron
      wrote on last edited by
      #2

      My opinion: MFC Although some purists may suggest WinAPI. X| As far as WTL, some love it I guess. I never used it. Same with ATL. I guess I just never had the need. - Nitron


      "Those that say a task is impossible shouldn't interrupt the ones who are doing it." - Chinese Proverb

      1 Reply Last reply
      0
      • T TigerNinja_

        Hi All, What would you recommend to a beginner windows programmer, with knowledge of C++? (WTL/ATL, MFC, WinAPI) Details I am trying to advise an individual on what language to use for programming windows, just as a hobby. The individual has C++ foundation, however, has no windows programming experience. I don't feel I have enough in-depth knowledge to provide a good answer, so I turn to the brainy geeks of CP ;P


        R.Bischoff | C++   .NET, Kommst du mit?

        B Offline
        B Offline
        brianwelsch
        wrote on last edited by
        #3

        I started off with MFC less than a year ago, and am getting along OK. My prior C++ experience was a few classes in school about 3-4 years prior. My tools to help me through have been Windows Programming with MFC (Jeff Prosise), MFC Answer Book (Kain), CP, CodeGuru, and MSDN. Oh, yeah, and :java: :) BW "We get general information and specific information, but none of the specific information talks about time, place or methods or means..." - Tom Ridge - US Secretary of Homeland Security

        1 Reply Last reply
        0
        • T TigerNinja_

          Hi All, What would you recommend to a beginner windows programmer, with knowledge of C++? (WTL/ATL, MFC, WinAPI) Details I am trying to advise an individual on what language to use for programming windows, just as a hobby. The individual has C++ foundation, however, has no windows programming experience. I don't feel I have enough in-depth knowledge to provide a good answer, so I turn to the brainy geeks of CP ;P


          R.Bischoff | C++   .NET, Kommst du mit?

          L Offline
          L Offline
          Luis Alonso Ramos
          wrote on last edited by
          #4

          I would recommend learning the Win32 API first, and then moving on to MFC. I believe knowing the API and how does it work helps you understand better what you're doing with MFC, and how it works under the hood. You could then extend it better or do things MFC does not support. -- LuisR ──────────────   Luis Alonso Ramos   Chihuahua, Mexico   www.luisalonsoramos.com "Do not worry about your difficulties in mathematics, I assure you that mine are greater." -- Albert Einstein

          J 1 Reply Last reply
          0
          • T TigerNinja_

            Hi All, What would you recommend to a beginner windows programmer, with knowledge of C++? (WTL/ATL, MFC, WinAPI) Details I am trying to advise an individual on what language to use for programming windows, just as a hobby. The individual has C++ foundation, however, has no windows programming experience. I don't feel I have enough in-depth knowledge to provide a good answer, so I turn to the brainy geeks of CP ;P


            R.Bischoff | C++   .NET, Kommst du mit?

            P Offline
            P Offline
            Paul M Watt
            wrote on last edited by
            #5

            Since he is just a hobby prgrammer I would suggest MFC. There is a lot of documentation, and sample programs out there, and you can do some very basic stuff quickly. The Win32 API is good if he ever plans on going anywhere with windows and programming. I love ATL and WTL, I also love C++ templates. I would only suggest these if he seriously wanted to become a Windows developer. They are a little difficult to wrap your head around until you get the hang of templates, then I think it is easier than MFC, although there is not very much documentation for WTL.


            Build a man a fire, and he will be warm for a day
            Light a man on fire, and he will be warm for the rest of his life!

            1 Reply Last reply
            0
            • T TigerNinja_

              Hi All, What would you recommend to a beginner windows programmer, with knowledge of C++? (WTL/ATL, MFC, WinAPI) Details I am trying to advise an individual on what language to use for programming windows, just as a hobby. The individual has C++ foundation, however, has no windows programming experience. I don't feel I have enough in-depth knowledge to provide a good answer, so I turn to the brainy geeks of CP ;P


              R.Bischoff | C++   .NET, Kommst du mit?

              M Offline
              M Offline
              Maximilien
              wrote on last edited by
              #6

              Why not use the .NET framework with ManagedC++ ? ok, no UI builder, but for simple UI and projects it be ok. ( I never used WTL or ATL ) MFC will frustrate you more than anything else because it's only wrapper around WinAPI, and you will rapidly be in need to learn it, if you decide to try something out of the MFC guidelines; or do something different. Max. For success one must aquire one's self

              L 1 Reply Last reply
              0
              • M Maximilien

                Why not use the .NET framework with ManagedC++ ? ok, no UI builder, but for simple UI and projects it be ok. ( I never used WTL or ATL ) MFC will frustrate you more than anything else because it's only wrapper around WinAPI, and you will rapidly be in need to learn it, if you decide to try something out of the MFC guidelines; or do something different. Max. For success one must aquire one's self

                L Offline
                L Offline
                Lunchy
                wrote on last edited by
                #7

                There's a C++ UI builder in VS 2003. :-D Although...it won't be released for a little while...I thought I heard april-ish...but there's always the beta if you can get your hands on it. :) -Lunchy

                1 Reply Last reply
                0
                • L Luis Alonso Ramos

                  I would recommend learning the Win32 API first, and then moving on to MFC. I believe knowing the API and how does it work helps you understand better what you're doing with MFC, and how it works under the hood. You could then extend it better or do things MFC does not support. -- LuisR ──────────────   Luis Alonso Ramos   Chihuahua, Mexico   www.luisalonsoramos.com "Do not worry about your difficulties in mathematics, I assure you that mine are greater." -- Albert Einstein

                  J Offline
                  J Offline
                  Jeremy Falcon
                  wrote on last edited by
                  #8

                  I agree completely. And, in knowing the API first, you'll be able to naturally figure out MFC classes, methods, and properties because of the similarities involved. And, in doing so, you’ll gain invaluable knowledge - the reasons why MFC is the way it is. Of course, the downside is you could end up like me and stay an API purist. :~ Jeremy Falcon Imputek

                  L 1 Reply Last reply
                  0
                  • T TigerNinja_

                    Hi All, What would you recommend to a beginner windows programmer, with knowledge of C++? (WTL/ATL, MFC, WinAPI) Details I am trying to advise an individual on what language to use for programming windows, just as a hobby. The individual has C++ foundation, however, has no windows programming experience. I don't feel I have enough in-depth knowledge to provide a good answer, so I turn to the brainy geeks of CP ;P


                    R.Bischoff | C++   .NET, Kommst du mit?

                    J Offline
                    J Offline
                    Josep L Colom
                    wrote on last edited by
                    #9

                    I recommend neither of those subjects. It's better go on with .NET and C# The Win32 API is old .. is not object oriented. It is deprecated .. even you can access it from .NET The MFC is a rich framework, but old as well. Even you can build great applications with it. ATL - based in templates - like STL, was great to build controls with small footprint, and to wrap COM. But COM is old .. now you have .NET WTL is a framework like MFC, but with the ATL philosophy. I recommend to stay only in .NET, and C#, as a new, more clean, less prone to error language than C++. This is also the Microsoft opinion. Josep L Colom

                    B A 2 Replies Last reply
                    0
                    • J Josep L Colom

                      I recommend neither of those subjects. It's better go on with .NET and C# The Win32 API is old .. is not object oriented. It is deprecated .. even you can access it from .NET The MFC is a rich framework, but old as well. Even you can build great applications with it. ATL - based in templates - like STL, was great to build controls with small footprint, and to wrap COM. But COM is old .. now you have .NET WTL is a framework like MFC, but with the ATL philosophy. I recommend to stay only in .NET, and C#, as a new, more clean, less prone to error language than C++. This is also the Microsoft opinion. Josep L Colom

                      B Offline
                      B Offline
                      Big Art
                      wrote on last edited by
                      #10

                      I would agree. C# is probably his best bet. The only problem is he's stuck with .net and computers which have the .net framework installed before any of the applications he creates can run. Also .net programs are slow in executing. They don't have the snappy response compared to MFC. The best book I've seen so far for learning VC# is "Developing C# Windows Software - A Windows Forms Tutorial" Wrox. Art

                      1 Reply Last reply
                      0
                      • J Jeremy Falcon

                        I agree completely. And, in knowing the API first, you'll be able to naturally figure out MFC classes, methods, and properties because of the similarities involved. And, in doing so, you’ll gain invaluable knowledge - the reasons why MFC is the way it is. Of course, the downside is you could end up like me and stay an API purist. :~ Jeremy Falcon Imputek

                        L Offline
                        L Offline
                        Luis Alonso Ramos
                        wrote on last edited by
                        #11

                        Jeremy Falcon wrote: Of course, the downside is you could end up like me and stay an API purist. That is not that bad. It's only too time-consuming for large apps. But I like the API better that MFC. But Windows Forms is much better!! -- LuisR ──────────────   Luis Alonso Ramos   Chihuahua, Mexico   www.luisalonsoramos.com "Do not worry about your difficulties in mathematics, I assure you that mine are greater." -- Albert Einstein

                        1 Reply Last reply
                        0
                        • J Josep L Colom

                          I recommend neither of those subjects. It's better go on with .NET and C# The Win32 API is old .. is not object oriented. It is deprecated .. even you can access it from .NET The MFC is a rich framework, but old as well. Even you can build great applications with it. ATL - based in templates - like STL, was great to build controls with small footprint, and to wrap COM. But COM is old .. now you have .NET WTL is a framework like MFC, but with the ATL philosophy. I recommend to stay only in .NET, and C#, as a new, more clean, less prone to error language than C++. This is also the Microsoft opinion. Josep L Colom

                          A Offline
                          A Offline
                          Andreas Saurwein
                          wrote on last edited by
                          #12

                          You speak some harsh words my friend: Josep L Colom wrote: The Win32 API is old .. is not object oriented. It is deprecated Josep L Colom wrote: But COM is old .. now you have .NET .NET without COM would not work. Neither would Windows without the Win32 API. Its like saying "TCP/IP is old, now we have Wireless Networks".


                          powerful binary resource reuse - another word for "no sources, you are stuck with a pain-in-the-a## COM component"

                          J 1 Reply Last reply
                          0
                          • A Andreas Saurwein

                            You speak some harsh words my friend: Josep L Colom wrote: The Win32 API is old .. is not object oriented. It is deprecated Josep L Colom wrote: But COM is old .. now you have .NET .NET without COM would not work. Neither would Windows without the Win32 API. Its like saying "TCP/IP is old, now we have Wireless Networks".


                            powerful binary resource reuse - another word for "no sources, you are stuck with a pain-in-the-a## COM component"

                            J Offline
                            J Offline
                            Josep L Colom
                            wrote on last edited by
                            #13

                            Yes COM exists and even Win32API exists under NET. But NET sets new paradigms in sofware design that enhances the COM approach. But NET doesn't need to have COM under it to work. Think in the MONO project (NET porting in Linux platform). As software users I think the NET class libraries should be our low level 'API' (even actually under it we can see COM influences, Win32 API calls, X86 staements, pipeline ALU microinstructions or transistors).

                            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