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. Migration from VC 6.0 to Visual studio 2005

Migration from VC 6.0 to Visual studio 2005

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiohelpquestionannouncement
4 Posts 4 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.
  • V Offline
    V Offline
    VC_RYK
    wrote on last edited by
    #1

    Hi experts I have to migrate some projects from VC 6.0 to visual studio 2005. Is Anything required to achieve it and what waht kind of problem i can face? As far as my knowledge is concerned, All upper version products automatically converts the project from older version to new one. With regards R Y K

    C D P 3 Replies Last reply
    0
    • V VC_RYK

      Hi experts I have to migrate some projects from VC 6.0 to visual studio 2005. Is Anything required to achieve it and what waht kind of problem i can face? As far as my knowledge is concerned, All upper version products automatically converts the project from older version to new one. With regards R Y K

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      you will probably have to fix a lot of these:

      for (int x=0...)
      {
      }

      for (x=0;...)
      {
      }

      the scope of the first x is limited to the first for loop, after VC6.

      image processing toolkits | batch image processing

      1 Reply Last reply
      0
      • V VC_RYK

        Hi experts I have to migrate some projects from VC 6.0 to visual studio 2005. Is Anything required to achieve it and what waht kind of problem i can face? As far as my knowledge is concerned, All upper version products automatically converts the project from older version to new one. With regards R Y K

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        VC_RYK wrote:

        Is Anything required to achieve it and what waht kind of problem i can face?

        You will likely run into Unicode-related issues. That and variable scope are the two biggest issues I've faced when porting one to the other.

        VC_RYK wrote:

        As far as my knowledge is concerned, All upper version products automatically converts the project from older version to new one.

        Yes, it converts the project, not the code.

        "One man's wage rise is another man's price increase." - Harold Wilson

        "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

        "Man who follows car will be exhausted." - Confucius

        1 Reply Last reply
        0
        • V VC_RYK

          Hi experts I have to migrate some projects from VC 6.0 to visual studio 2005. Is Anything required to achieve it and what waht kind of problem i can face? As far as my knowledge is concerned, All upper version products automatically converts the project from older version to new one. With regards R Y K

          P Offline
          P Offline
          peterchen
          wrote on last edited by
          #4

          Why VS2005? Consider VS2008 or VS 2010 (though the latter is a bit of a moving target still). The step from VC6 to VS2005 is the big one though. Upgrade Wizard will (try to) port your project files - this usually works ok - but you are alon wiht changes requried to your source code. Compiler: VS 2005 provides improved standard compatibility, the most common issues being for scope, more rigorous checking of templates, and other minor things. For a list of breaking changes, see here[^] and here[^]. Unicode: Project settings now default to unicode. Moving from ANSI/MBCS to Unicode is a completely different story, you may want to take this as a separate step. "Safe" CRT functions - many functions of the C/C++ Runtime will now generate a warnign that they should be replaced by safe counterparts - mostly to avoid potential buffer overflows and encourage more rigorous error checking. This is often a barrage of warnings, burying everything else under it. For more information, see here[^]. IDE + Build Performance - Get a really good computer. I mean it. Windows Headers - we had some problems with some of the more arcane windows library headers moving some declarations around, requiring ugly include reordering and supressing some declarations being made / imported. That's unlikely to bite you, but can be an immense time sink.

          Agh! Reality! My Archnemesis![^]
          | FoldWithUs! | sighist | µLaunch - program launcher for server core and hyper-v server.

          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