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. .NET or VC++

.NET or VC++

Scheduled Pinned Locked Moved The Lounge
c++csharpcomjsonhelp
41 Posts 20 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.
  • H Offline
    H Offline
    HakunaMatada
    wrote on last edited by
    #1

    Hi, I am puzzled? I come from a .NET background but am currently engaged with VC++ (COM/ATL) at my current organization. Now, I am ina dillema. Should I go fill flegded with VC++ or keep uptodate with .NET too. Will VC++(COM/ATL) stay for some more years or will it be eradicated by .NET? What about MFC?

    --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

    C R V realJSOPR E 7 Replies Last reply
    0
    • H HakunaMatada

      Hi, I am puzzled? I come from a .NET background but am currently engaged with VC++ (COM/ATL) at my current organization. Now, I am ina dillema. Should I go fill flegded with VC++ or keep uptodate with .NET too. Will VC++(COM/ATL) stay for some more years or will it be eradicated by .NET? What about MFC?

      --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      There was a time when C++ was the only way to write reall applications for Windows.  Now that this is no longer the case, I reckon more and more work will be in C# ( and VB.NET, I admit it ).  But, that doesn't mean there aren't C++ projects that need maintenance, teams that stick to c++ because they know it, or because of tools and libraries they have in it, etc.  Personally, I'd say if you can learn *anything*, do it.  Don't abandon .NET, but certainly take the chance to learn C++.  Which in essence means learning MFC, in Windows.

      Christian Graus - C++ MVP

      H V G 3 Replies Last reply
      0
      • C Christian Graus

        There was a time when C++ was the only way to write reall applications for Windows.  Now that this is no longer the case, I reckon more and more work will be in C# ( and VB.NET, I admit it ).  But, that doesn't mean there aren't C++ projects that need maintenance, teams that stick to c++ because they know it, or because of tools and libraries they have in it, etc.  Personally, I'd say if you can learn *anything*, do it.  Don't abandon .NET, but certainly take the chance to learn C++.  Which in essence means learning MFC, in Windows.

        Christian Graus - C++ MVP

        H Offline
        H Offline
        HakunaMatada
        wrote on last edited by
        #3

        Thanks for the advice. :)

        --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

        K 1 Reply Last reply
        0
        • H HakunaMatada

          Thanks for the advice. :)

          --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

          K Offline
          K Offline
          Kevin McFarlane
          wrote on last edited by
          #4

          If you stay in the MS world you definitely have to keep up with .NET regardless of whether you also stick with C++. My background is C++ but I'm now doing .NET and intend to keep up with it if posssible even if I also do C++ occasionally.

          Kevin

          N 1 Reply Last reply
          0
          • H HakunaMatada

            Hi, I am puzzled? I come from a .NET background but am currently engaged with VC++ (COM/ATL) at my current organization. Now, I am ina dillema. Should I go fill flegded with VC++ or keep uptodate with .NET too. Will VC++(COM/ATL) stay for some more years or will it be eradicated by .NET? What about MFC?

            --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

            R Offline
            R Offline
            Rocky Moore
            wrote on last edited by
            #5

            Simply go to Monster, Dice or other employment listings and search out jobs. Majority are Java and .NET for Windows while you still find a few C/C++ for Linux projects. Search Monster for MFC you have 550 listings, Win32 only 332, C#, VB.NET, ASP.NET or just .NET are all over 1000 (they only list 1000). Also compare salaries. C/C++ was the way to go for decades, but the shift started years ago and it seems to continue. Not only on Windows platform, but there are more and more projects on Linux now using .NET (mono), but the numbers on Linux are much smaller. For most business applications, .NET is a clear winner as develop time is drastically less and bugs are fewer require far less debugging time. Shorter development cycles mean less cost which is a winner with business. On the other hand, if your target profession will be in the CAD world or some other CPU/Graphic intense applications, then C++ is at the moment still a winner, for at least the time being. It can also matter a little bit on where you happen to live as technology can vary.

            Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Blog changed to Subtext!

            P 1 Reply Last reply
            0
            • C Christian Graus

              There was a time when C++ was the only way to write reall applications for Windows.  Now that this is no longer the case, I reckon more and more work will be in C# ( and VB.NET, I admit it ).  But, that doesn't mean there aren't C++ projects that need maintenance, teams that stick to c++ because they know it, or because of tools and libraries they have in it, etc.  Personally, I'd say if you can learn *anything*, do it.  Don't abandon .NET, but certainly take the chance to learn C++.  Which in essence means learning MFC, in Windows.

              Christian Graus - C++ MVP

              V Offline
              V Offline
              V 0
              wrote on last edited by
              #6

              They use C++ mainly if things have to go fast...

              1 Reply Last reply
              0
              • H HakunaMatada

                Hi, I am puzzled? I come from a .NET background but am currently engaged with VC++ (COM/ATL) at my current organization. Now, I am ina dillema. Should I go fill flegded with VC++ or keep uptodate with .NET too. Will VC++(COM/ATL) stay for some more years or will it be eradicated by .NET? What about MFC?

                --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

                V Offline
                V Offline
                V 0
                wrote on last edited by
                #7

                C++ is mostly used by engineers when things have to go fast. (heavy real-time calculations eg) Normal application development is using .NET now. If you're not an engineer, definitely keep up with .NET, but I don't see a reason to not keep up with C++ too.

                1 Reply Last reply
                0
                • K Kevin McFarlane

                  If you stay in the MS world you definitely have to keep up with .NET regardless of whether you also stick with C++. My background is C++ but I'm now doing .NET and intend to keep up with it if posssible even if I also do C++ occasionally.

                  Kevin

                  N Offline
                  N Offline
                  NormDroid
                  wrote on last edited by
                  #8

                  .net is the long term stategy for Microsoft, MFC is not the horse to back you're pay cheque on. C++ will be around for any years to come, but will decline in popularity as the jobs for creating new projects become scarce. The beauty :~ of .net at the moment is that it changing all the time with now components and features being added all the time. Once vista is in the mainstream with future of windows development will exciting as it was back in the early '90s (my opinion).

                  We made the buttons on the screen look so good you'll want to lick them. Steve Jobs

                  K 1 Reply Last reply
                  0
                  • N NormDroid

                    .net is the long term stategy for Microsoft, MFC is not the horse to back you're pay cheque on. C++ will be around for any years to come, but will decline in popularity as the jobs for creating new projects become scarce. The beauty :~ of .net at the moment is that it changing all the time with now components and features being added all the time. Once vista is in the mainstream with future of windows development will exciting as it was back in the early '90s (my opinion).

                    We made the buttons on the screen look so good you'll want to lick them. Steve Jobs

                    K Offline
                    K Offline
                    Kevin McFarlane
                    wrote on last edited by
                    #9

                    norm .net wrote:

                    .net is the long term stategy for Microsoft, MFC is not the horse to back you're pay cheque on.

                    I agree. What little C++ I've done recently has been pure maintenance.

                    norm .net wrote:

                    C++ will be around for any years to come, but will decline in popularity as the jobs for creating new projects become scarce.

                    Yes. And even in the non-MS world I imagine that hardcore C++ers will also need to know other stuff such as Java and Python. E.g., the Google skillset is mainly C++/Java/Python. And this stuff is either far easier to use from C# or VB or not available at all for C++.

                    norm .net wrote:

                    The beauty :~of .net at the moment is that it changing all the time with now components and features being added all the time.

                    Kevin

                    1 Reply Last reply
                    0
                    • R Rocky Moore

                      Simply go to Monster, Dice or other employment listings and search out jobs. Majority are Java and .NET for Windows while you still find a few C/C++ for Linux projects. Search Monster for MFC you have 550 listings, Win32 only 332, C#, VB.NET, ASP.NET or just .NET are all over 1000 (they only list 1000). Also compare salaries. C/C++ was the way to go for decades, but the shift started years ago and it seems to continue. Not only on Windows platform, but there are more and more projects on Linux now using .NET (mono), but the numbers on Linux are much smaller. For most business applications, .NET is a clear winner as develop time is drastically less and bugs are fewer require far less debugging time. Shorter development cycles mean less cost which is a winner with business. On the other hand, if your target profession will be in the CAD world or some other CPU/Graphic intense applications, then C++ is at the moment still a winner, for at least the time being. It can also matter a little bit on where you happen to live as technology can vary.

                      Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Blog changed to Subtext!

                      P Offline
                      P Offline
                      Pierre Leclercq
                      wrote on last edited by
                      #10

                      MS is pushing for dotnet, but they will keep on releasing SDKs like Win32, Win64 (or even Win128). Depends on where you want to be in the herd...

                      R 1 Reply Last reply
                      0
                      • C Christian Graus

                        There was a time when C++ was the only way to write reall applications for Windows.  Now that this is no longer the case, I reckon more and more work will be in C# ( and VB.NET, I admit it ).  But, that doesn't mean there aren't C++ projects that need maintenance, teams that stick to c++ because they know it, or because of tools and libraries they have in it, etc.  Personally, I'd say if you can learn *anything*, do it.  Don't abandon .NET, but certainly take the chance to learn C++.  Which in essence means learning MFC, in Windows.

                        Christian Graus - C++ MVP

                        G Offline
                        G Offline
                        Gary R Wheeler
                        wrote on last edited by
                        #11

                        There are still a number of environments where C/C++ projects in Windows are the only means available. Those I know of include: - Windows services - Explorer extensions - Device drivers - Any of the 'extension agents' that require a DLL with a fixed signature: SNMP, HTTP, etc.


                        Software Zen: delete this;

                        Fold With Us![^]

                        T C M H 4 Replies Last reply
                        0
                        • H HakunaMatada

                          Hi, I am puzzled? I come from a .NET background but am currently engaged with VC++ (COM/ATL) at my current organization. Now, I am ina dillema. Should I go fill flegded with VC++ or keep uptodate with .NET too. Will VC++(COM/ATL) stay for some more years or will it be eradicated by .NET? What about MFC?

                          --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

                          realJSOPR Offline
                          realJSOPR Offline
                          realJSOP
                          wrote on last edited by
                          #12

                          This is a pointless question. Can't you think for yourself?

                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                          P 1 Reply Last reply
                          0
                          • realJSOPR realJSOP

                            This is a pointless question. Can't you think for yourself?

                            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                            -----
                            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                            P Offline
                            P Offline
                            Pierre Leclercq
                            wrote on last edited by
                            #13

                            Not everyone has your wisdom. Would you mind elaborating? Why is it pointless?

                            realJSOPR 1 Reply Last reply
                            0
                            • H HakunaMatada

                              Hi, I am puzzled? I come from a .NET background but am currently engaged with VC++ (COM/ATL) at my current organization. Now, I am ina dillema. Should I go fill flegded with VC++ or keep uptodate with .NET too. Will VC++(COM/ATL) stay for some more years or will it be eradicated by .NET? What about MFC?

                              --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

                              E Offline
                              E Offline
                              Eytukan
                              wrote on last edited by
                              #14

                              .NET or VC++^


                              :Gong: 歡迎光臨 吐 西批 :Gong:

                              1 Reply Last reply
                              0
                              • P Pierre Leclercq

                                Not everyone has your wisdom. Would you mind elaborating? Why is it pointless?

                                realJSOPR Offline
                                realJSOPR Offline
                                realJSOP
                                wrote on last edited by
                                #15

                                Anyone that's been programming for any length of time knows damn well that technologies change on an all-too-frequent basis and that the more you know, the more marketable you make yourself for employment. If you are tasked with using a certain technology, then you have to learn the technology at least well enough to complete the task. For instance, I've been doing C++/MFC since 1991 or so. In June, I started working on a .Net project. Guess what - I absolutely hate .Net, but I'm learning it anyway because if I don't, I'll lose my job. You don't need to be a freakin' rocket scientist to put 2 and 2 together here. The original question is therefore pointless.

                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                P 1 Reply Last reply
                                0
                                • G Gary R Wheeler

                                  There are still a number of environments where C/C++ projects in Windows are the only means available. Those I know of include: - Windows services - Explorer extensions - Device drivers - Any of the 'extension agents' that require a DLL with a fixed signature: SNMP, HTTP, etc.


                                  Software Zen: delete this;

                                  Fold With Us![^]

                                  T Offline
                                  T Offline
                                  Todd Smith
                                  wrote on last edited by
                                  #16

                                  - Games (for speed & cross platform) - Cross platform apps (for Windows / OS X / Linux) - Any application where performance is an issue but those millions of VB apps have definately moved to .NET

                                  Todd Smith

                                  G 1 Reply Last reply
                                  0
                                  • T Todd Smith

                                    - Games (for speed & cross platform) - Cross platform apps (for Windows / OS X / Linux) - Any application where performance is an issue but those millions of VB apps have definately moved to .NET

                                    Todd Smith

                                    G Offline
                                    G Offline
                                    Gary R Wheeler
                                    wrote on last edited by
                                    #17

                                    Todd Smith wrote:

                                    - Any application where performance is an issue

                                    Supposedly that's no longer the case. I've seen a number of articles where managed code is faster than the equivalent native code. The rationale is that the just-in-time compiler and loader can perform whole-program and load environment optimizations that yield greater performance than is possible with a 'static' compiler and linker. I'm willing to believe it on a case-by-case basis, but I have my doubts under general circumstances.


                                    Software Zen: delete this;

                                    Fold With Us![^]

                                    M K 2 Replies Last reply
                                    0
                                    • realJSOPR realJSOP

                                      Anyone that's been programming for any length of time knows damn well that technologies change on an all-too-frequent basis and that the more you know, the more marketable you make yourself for employment. If you are tasked with using a certain technology, then you have to learn the technology at least well enough to complete the task. For instance, I've been doing C++/MFC since 1991 or so. In June, I started working on a .Net project. Guess what - I absolutely hate .Net, but I'm learning it anyway because if I don't, I'll lose my job. You don't need to be a freakin' rocket scientist to put 2 and 2 together here. The original question is therefore pointless.

                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                      -----
                                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                      P Offline
                                      P Offline
                                      Pierre Leclercq
                                      wrote on last edited by
                                      #18

                                      If you've been programming for a long time you know new things come along a lot, but also some have a tendency to stick around even beyond expectations. Remember how many companies where freaking out at the end of the 90s because they still had systems built in the 60's, when no one was even thinking they'd last up to 2000?

                                      John Simmons / outlaw programmer wrote:

                                      For instance, I've been doing C++/MFC since 1991 or so

                                      Me too!! How nice to meet someone alike. In fact, back in 2002, I rushed in a store to buy Visual Studio.net 2002. And following the "new things always come along", I learned .net. At that time .net jobs were scarce. And even though I have coded in C# for several years, I am now back to C++. So never say never.

                                      John Simmons / outlaw programmer wrote:

                                      You don't need to be a freakin' rocket scientist to put 2 and 2 together here. The original question is therefore pointless.

                                      Well not everyone has many years of experience like you. So don't be so harsh. I have read that long long thread where you seem to be fighting the whole lounge. I have even voted you 5 several times. But damn, I am starting to understand why some wrote you were a little "tough". :)

                                      1 Reply Last reply
                                      0
                                      • H HakunaMatada

                                        Hi, I am puzzled? I come from a .NET background but am currently engaged with VC++ (COM/ATL) at my current organization. Now, I am ina dillema. Should I go fill flegded with VC++ or keep uptodate with .NET too. Will VC++(COM/ATL) stay for some more years or will it be eradicated by .NET? What about MFC?

                                        --- :beer: Hakuna-Matada :beer: It means no worries for the rest of your days... It's our problem free, Philosophy :jig: It’s rather simple to write an unmanaged C++ application that crashes when it performs a callback. It’s impossible to write a managed application that does the same, thanks to delegates. - Jeff Prosise

                                        L Offline
                                        L Offline
                                        Lost User
                                        wrote on last edited by
                                        #19

                                        As far as employment opportunities go, 95%+ of the MS C-type applications in the world are written in C++. They will be around for decades to come (eg COBOL programmers are still required). A company which has invested $millions in C++ software development is not going to chuck it all away just because something new has come along. I reckon it's easier to go from C++/MFC to c# than vice versa.

                                        K 1 Reply Last reply
                                        0
                                        • G Gary R Wheeler

                                          There are still a number of environments where C/C++ projects in Windows are the only means available. Those I know of include: - Windows services - Explorer extensions - Device drivers - Any of the 'extension agents' that require a DLL with a fixed signature: SNMP, HTTP, etc.


                                          Software Zen: delete this;

                                          Fold With Us![^]

                                          C Offline
                                          C Offline
                                          Christian Graus
                                          wrote on last edited by
                                          #20

                                          Gary R. Wheeler wrote:

                                          Windows services

                                          I'm sure they can be done in C#

                                          Christian Graus - C++ MVP

                                          G P 2 Replies 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