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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. The Lounge
  3. Upgrading from VS 2005 to 2008

Upgrading from VS 2005 to 2008

Scheduled Pinned Locked Moved The Lounge
33 Posts 18 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.
  • J Jim Crafton

    I found out that at work I can get my copy of VS 2005 upgraded to 2008. Given that most of what I do is C++ (about 50% MFC, 50% non-MFC server based code), with some newer projects being written in C# (absolutely *NO* WPF), is there any burning reason to bother upgrading? Any hidden gotchas waiting for me if I do upgrade?

    ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

    D Offline
    D Offline
    Douglas Troy
    wrote on last edited by
    #9

    Jim, I've not used C++/MFC stuffs in VS2008, so I cannot speak to what the advantages/disadvantages would be, however, with the pending release of VS 2010, you might consider just waiting. "They" (being Microsoft) are claiming that VS2010 is the next VS6; if that turns out to be the case, I would think that's the release you would want. My two cents. (Perhaps you could download the VS2010 CTP and check into it? Just a thought)


    :..::. Douglas H. Troy ::..
    Bad Astronomy |VCF|wxWidgets|WTL

    J 1 Reply Last reply
    0
    • J Jim Crafton

      That would be a C# only thing right? Based on how 2005 works, I would assume there's little to no support for C++ there.

      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #10

      Jim Crafton wrote:

      no support for C++ there.

      There is support via Microsoft SAL (it was in VS2005 too). Basically, you decorate your code with annotations such as the following:

      _Check_return_ _CRTIMP _CONST_RETURN void * __cdecl memchr( _In_opt_bytecount_(_MaxCount) const void * _Buf , _In_ int _Val, _In_ size_t _MaxCount);

      More on this here: http://msdn.microsoft.com/en-us/library/ms235402(VS.80).aspx[^]

      J R 2 Replies Last reply
      0
      • J Jim Crafton

        I found out that at work I can get my copy of VS 2005 upgraded to 2008. Given that most of what I do is C++ (about 50% MFC, 50% non-MFC server based code), with some newer projects being written in C# (absolutely *NO* WPF), is there any burning reason to bother upgrading? Any hidden gotchas waiting for me if I do upgrade?

        ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

        N Offline
        N Offline
        Nemanja Trifunovic
        wrote on last edited by
        #11

        MFC Feature Pack[^] and TR1 support would be some of the reasons to switch.

        Programming Blog utf8-cpp

        1 Reply Last reply
        0
        • R Rama Krishna Vavilala

          Jim Crafton wrote:

          no support for C++ there.

          There is support via Microsoft SAL (it was in VS2005 too). Basically, you decorate your code with annotations such as the following:

          _Check_return_ _CRTIMP _CONST_RETURN void * __cdecl memchr( _In_opt_bytecount_(_MaxCount) const void * _Buf , _In_ int _Val, _In_ size_t _MaxCount);

          More on this here: http://msdn.microsoft.com/en-us/library/ms235402(VS.80).aspx[^]

          J Offline
          J Offline
          Jim Crafton
          wrote on last edited by
          #12

          Holy crap, I just looked at that link. I think my eyes are bleeding now. Who was the fail pony that approved that monstrosity!? Definitely not going to be using that.

          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

          R 1 Reply Last reply
          0
          • D Douglas Troy

            Jim, I've not used C++/MFC stuffs in VS2008, so I cannot speak to what the advantages/disadvantages would be, however, with the pending release of VS 2010, you might consider just waiting. "They" (being Microsoft) are claiming that VS2010 is the next VS6; if that turns out to be the case, I would think that's the release you would want. My two cents. (Perhaps you could download the VS2010 CTP and check into it? Just a thought)


            :..::. Douglas H. Troy ::..
            Bad Astronomy |VCF|wxWidgets|WTL

            J Offline
            J Offline
            Jim Crafton
            wrote on last edited by
            #13

            Douglas Troy wrote:

            (Perhaps you could download the VS2010 CTP and check into it? Just a thought)

            I did actually try it a bit. I fail to see how it lives up to the claim of "VS2010 is the next VS6". I have no idea how soon we would see that at work, so it might take a good while before it's even available to me.

            ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

            D 1 Reply Last reply
            0
            • J Jim Crafton

              Holy crap, I just looked at that link. I think my eyes are bleeding now. Who was the fail pony that approved that monstrosity!? Definitely not going to be using that.

              ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

              R Offline
              R Offline
              Rama Krishna Vavilala
              wrote on last edited by
              #14

              Imagine the plight of the poor developer who had to fix all the header files.

              J 1 Reply Last reply
              0
              • R Rama Krishna Vavilala

                Imagine the plight of the poor developer who had to fix all the header files.

                J Offline
                J Offline
                Jim Crafton
                wrote on last edited by
                #15

                Ick, what a nightmare. I'll bet the swearing by that guy must have reached epic proportions!

                ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

                1 Reply Last reply
                0
                • 0 0x3c0

                  AFAIK, you must have VS 2008 in order to use the new language features in .Net 3.5. If you don't need those sort of things, I don't personally see any need to bother

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

                  Those new language features are really nice imho for C#. For C++ I have no clue. We abandoned that platform several years ago :\

                  Todd Smith

                  0 1 Reply Last reply
                  0
                  • J Jim Crafton

                    I found out that at work I can get my copy of VS 2005 upgraded to 2008. Given that most of what I do is C++ (about 50% MFC, 50% non-MFC server based code), with some newer projects being written in C# (absolutely *NO* WPF), is there any burning reason to bother upgrading? Any hidden gotchas waiting for me if I do upgrade?

                    ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

                    L Offline
                    L Offline
                    leppie
                    wrote on last edited by
                    #17

                    VS2008 is indeed the prettiest editor available (only to be equaled by xacc.ide :) )

                    xacc.ide - now with TabsToSpaces support
                    IronScheme - 1.0 beta 2 - out now!
                    ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                    1 Reply Last reply
                    0
                    • T Todd Smith

                      Those new language features are really nice imho for C#. For C++ I have no clue. We abandoned that platform several years ago :\

                      Todd Smith

                      0 Offline
                      0 Offline
                      0x3c0
                      wrote on last edited by
                      #18

                      Yeah, they're delightful. I use LINQ in all of my personal projects nowadays

                      M 1 Reply Last reply
                      0
                      • J Jim Crafton

                        Douglas Troy wrote:

                        (Perhaps you could download the VS2010 CTP and check into it? Just a thought)

                        I did actually try it a bit. I fail to see how it lives up to the claim of "VS2010 is the next VS6". I have no idea how soon we would see that at work, so it might take a good while before it's even available to me.

                        ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

                        D Offline
                        D Offline
                        Douglas Troy
                        wrote on last edited by
                        #19

                        Emmm ... well, from reading what others have said about Intellisense, it might be worth the jump. Wouldn't hurt to get on 2008, so you could get all these new fang-dangled WPF/WCF articles, compile them and then join the plethora of ranting about how badly it all sucks and how the world is going to end in a fiery pit of hell spawn mac lovers. ... or something along those lines, anyway.


                        :..::. Douglas H. Troy ::..
                        Bad Astronomy |VCF|wxWidgets|WTL

                        R 1 Reply Last reply
                        0
                        • J Jim Crafton

                          I found out that at work I can get my copy of VS 2005 upgraded to 2008. Given that most of what I do is C++ (about 50% MFC, 50% non-MFC server based code), with some newer projects being written in C# (absolutely *NO* WPF), is there any burning reason to bother upgrading? Any hidden gotchas waiting for me if I do upgrade?

                          ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

                          J Offline
                          J Offline
                          Joe Woodbury
                          wrote on last edited by
                          #20

                          I use both (and VC++ 6.) For C++, VS 2008 is a marginal improvement over VS 2005. I don't think it's worth purchasing the upgrade, but definitely worthwhile if you already have a copy. (If upgrading from VC++ 6, it's worth skipping VS 2005, though we're taking so long where I'm at, I figure VS 2010 will be out. [FYI, it has to do with out installed base of XPe systems and getting the runtimes down.])

                          Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

                          1 Reply Last reply
                          0
                          • N Nish Nishant

                            Code Analysis would be an advantage (if you use it).

                            Regards, Nish


                            Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                            My latest book : C++/CLI in Action / Amazon.com link

                            D Offline
                            D Offline
                            Dan Neely
                            wrote on last edited by
                            #21

                            Isn't that team edition only?

                            Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                            N 1 Reply Last reply
                            0
                            • D Dan Neely

                              Isn't that team edition only?

                              Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

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

                              dan neely wrote:

                              Isn't that team edition only?

                              Could be - I usually install the highest edition that comes with MSDN.

                              Regards, Nish


                              Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                              My latest book : C++/CLI in Action / Amazon.com link

                              D 1 Reply Last reply
                              0
                              • 0 0x3c0

                                Yeah, they're delightful. I use LINQ in all of my personal projects nowadays

                                M Offline
                                M Offline
                                Member 96
                                wrote on last edited by
                                #23

                                Really? I could find no useful purpose at all for LINQ, quite the opposite, it makes highly dense hard to maintain code that provides no real world benefit at all except to make developers feel like they're doing something new and cool. :)


                                Read a book, here's some good ones[^]

                                H S 0 3 Replies Last reply
                                0
                                • J Jim Crafton

                                  I found out that at work I can get my copy of VS 2005 upgraded to 2008. Given that most of what I do is C++ (about 50% MFC, 50% non-MFC server based code), with some newer projects being written in C# (absolutely *NO* WPF), is there any burning reason to bother upgrading? Any hidden gotchas waiting for me if I do upgrade?

                                  ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

                                  S Offline
                                  S Offline
                                  Stuart Dootson
                                  wrote on last edited by
                                  #24

                                  I suppose I fit your profile - the only MS language I use is C++, and I upgraded to VS2008, but that's for new code. I never really used VS2005, so it was an upgrade from VS2003. Overall, I'm happy enough with it. One thing I did find is that on my workstation @ work (HP xw4400, 2.4GHZ Core2Duo, 4GB RAM, XP Pro), it seems really slow when entering the debugger and single-stepping. However, when I use it on my Mac (2.4GHz Core 2 Duo, 4GB RAM), using Windows 7 beta on VMWare Fusion, those issues aren't present. I wonder if (for whatever reason) Windows 7 (and possibly Vista - although I've not tested that - Christian told me not to ;P ) has got some advantage over XP for that particular scenario?

                                  Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

                                  1 Reply Last reply
                                  0
                                  • M Member 96

                                    Really? I could find no useful purpose at all for LINQ, quite the opposite, it makes highly dense hard to maintain code that provides no real world benefit at all except to make developers feel like they're doing something new and cool. :)


                                    Read a book, here's some good ones[^]

                                    H Offline
                                    H Offline
                                    Henry Minute
                                    wrote on last edited by
                                    #25

                                    John C wrote:

                                    it makes highly dense hard to maintain code

                                    I agree with you there. :thumbsup: Although I sort of hope it catches on, in which case the maintenance difficulties will decrease.

                                    Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                                    1 Reply Last reply
                                    0
                                    • N Nish Nishant

                                      dan neely wrote:

                                      Isn't that team edition only?

                                      Could be - I usually install the highest edition that comes with MSDN.

                                      Regards, Nish


                                      Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
                                      My latest book : C++/CLI in Action / Amazon.com link

                                      D Offline
                                      D Offline
                                      Dan Neely
                                      wrote on last edited by
                                      #26

                                      My MSDN only comes with pro...

                                      Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots. -- Robert Royall

                                      1 Reply Last reply
                                      0
                                      • J Jim Crafton

                                        I found out that at work I can get my copy of VS 2005 upgraded to 2008. Given that most of what I do is C++ (about 50% MFC, 50% non-MFC server based code), with some newer projects being written in C# (absolutely *NO* WPF), is there any burning reason to bother upgrading? Any hidden gotchas waiting for me if I do upgrade?

                                        ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! VCF Blog Just Say No to Web 2 Point Oh

                                        T Offline
                                        T Offline
                                        TheGreatAndPowerfulOz
                                        wrote on last edited by
                                        #27

                                        i think vs2008 is more C++ standards compliant. it also is way less buggy in my experience and handles large solutions much more adroitly. the ide is more stable. intellisense is better too.

                                        1 Reply Last reply
                                        0
                                        • R Rama Krishna Vavilala

                                          Jim Crafton wrote:

                                          no support for C++ there.

                                          There is support via Microsoft SAL (it was in VS2005 too). Basically, you decorate your code with annotations such as the following:

                                          _Check_return_ _CRTIMP _CONST_RETURN void * __cdecl memchr( _In_opt_bytecount_(_MaxCount) const void * _Buf , _In_ int _Val, _In_ size_t _MaxCount);

                                          More on this here: http://msdn.microsoft.com/en-us/library/ms235402(VS.80).aspx[^]

                                          R Offline
                                          R Offline
                                          RDABC
                                          wrote on last edited by
                                          #28

                                          Finally found out what purkinje cells are for, wholy smokes! There really is a good use for decorators but the example is overloaded to get as much in as possible.

                                          Folding for Team 32

                                          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