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. Using VC7.1 compiler under VC6 IDE.... woes.... :S

Using VC7.1 compiler under VC6 IDE.... woes.... :S

Scheduled Pinned Locked Moved C / C++ / MFC
visual-studiocsharpc++phpdatabase
5 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.
  • K Offline
    K Offline
    kevingpo
    wrote on last edited by
    #1

    Has anyone tried compiling a VC6 MFC application using the VC7.1 compiler? I followed this simple article on making VC6 to use the VC7.1 compiler. http://pixwiki.bafsoft.com/wiki/index.php/Using\_the\_Optimizing\_VC7\_Compiler\_with\_the\_VC6\_IDE Then all the errors I've been getting have been from the actual C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include\ folder (loads of template syntax errors). Surely Microsoft must've made a portability/conversion for VC6 MFC to be used under VC7.1?

    T G 2 Replies Last reply
    0
    • K kevingpo

      Has anyone tried compiling a VC6 MFC application using the VC7.1 compiler? I followed this simple article on making VC6 to use the VC7.1 compiler. http://pixwiki.bafsoft.com/wiki/index.php/Using\_the\_Optimizing\_VC7\_Compiler\_with\_the\_VC6\_IDE Then all the errors I've been getting have been from the actual C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include\ folder (loads of template syntax errors). Surely Microsoft must've made a portability/conversion for VC6 MFC to be used under VC7.1?

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      the VC6 compiler wasn't standard compliant... so it is totally normal to get errors when migrating VC6 projects to VC7.1... even if the errors come from the compiler's include\ folder, the problem comes from your code...

      K 1 Reply Last reply
      0
      • T toxcct

        the VC6 compiler wasn't standard compliant... so it is totally normal to get errors when migrating VC6 projects to VC7.1... even if the errors come from the compiler's include\ folder, the problem comes from your code...

        K Offline
        K Offline
        kevingpo
        wrote on last edited by
        #3

        But it was saying specific things about MFC source files... eg. missing ;, type not found. It's probably namespaces, and maybe a little syntax change. I do not know the inner workings of MFC nor the difference between the VC6 & VC7.1 template syntax. Currently am looking for a nice script/conversion tool to convert VC6 source files into VC7.1 compliant. What happened to MFC/ATL in VS.NET2003? Does MFC/ATL still exist in VS.NET2003 or have they been replaced with STL?

        M 1 Reply Last reply
        0
        • K kevingpo

          But it was saying specific things about MFC source files... eg. missing ;, type not found. It's probably namespaces, and maybe a little syntax change. I do not know the inner workings of MFC nor the difference between the VC6 & VC7.1 template syntax. Currently am looking for a nice script/conversion tool to convert VC6 source files into VC7.1 compliant. What happened to MFC/ATL in VS.NET2003? Does MFC/ATL still exist in VS.NET2003 or have they been replaced with STL?

          M Offline
          M Offline
          mkuhac
          wrote on last edited by
          #4

          kevingpo wrote:

          Does MFC/ATL still exist in VS.NET2003 or have they been replaced with STL?

          This is illogical question because STL is collection oriented, while MFC and/or ATL/WTL are GUI oriented. Can you build Windows application with just collections (no menus, windows, buttons...)??

          1 Reply Last reply
          0
          • K kevingpo

            Has anyone tried compiling a VC6 MFC application using the VC7.1 compiler? I followed this simple article on making VC6 to use the VC7.1 compiler. http://pixwiki.bafsoft.com/wiki/index.php/Using\_the\_Optimizing\_VC7\_Compiler\_with\_the\_VC6\_IDE Then all the errors I've been getting have been from the actual C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include\ folder (loads of template syntax errors). Surely Microsoft must've made a portability/conversion for VC6 MFC to be used under VC7.1?

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

            It sounds like you are trying to use the 7.1 compiler and the VC6 MFC headers. You would be better off to use the 7.1 headers. Check the include file paths in your 7.1 settings, and make sure the 7.1 include paths come first.


            Software Zen: delete this;

            Fold With Us![^]

            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