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