migration from c++ 6 to Visual stutio professional 2010
-
I need to convert my programs from c++ 6 to Visual stutio professional 2010. Please advise how to proceed and what I need to fix typically ? What is the best way to do this ? Thanks Ruilin
This link will help you[^]
Every new day is another chance to change your life.
-
This link will help you[^]
Every new day is another chance to change your life.
-
thanks a lot. Do I have to install visual studio 2008 for converting my visual c++ 6 (2003) ? Please give me some guidances. hanks again
I dont have much idea on that. Like you i am also new to this. The only difference is i searched the net first and i send you the link which really suited your query. There are other sites which gives you a very good insight on how the migration has to be done. See this link [^]
Every new day is another chance to change your life.
-
I need to convert my programs from c++ 6 to Visual stutio professional 2010. Please advise how to proceed and what I need to fix typically ? What is the best way to do this ? Thanks Ruilin
mrby123 wrote:
Please advise how to proceed
Create a project in VS2010, add the source code from C++ 6 and build the project. Fix all warnings and errors.
Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman
-
I need to convert my programs from c++ 6 to Visual stutio professional 2010. Please advise how to proceed and what I need to fix typically ? What is the best way to do this ? Thanks Ruilin
You just need to jump right in and convert it. There's no magical way to do it and the number of warnings and errors you get depend on what your source code has in it and how well you coded according to standard (old compiler used to let you get away with using non-standard C++, new one is better about that but still, MS refuses to follow standards strictly, they implement things they want regardless of current standards). ...oh, and don't forget to save a copy of your unchanged code for reference or if you need to fall back to your original code. If you have source control, create a tag to save the location.
-
I need to convert my programs from c++ 6 to Visual stutio professional 2010. Please advise how to proceed and what I need to fix typically ? What is the best way to do this ? Thanks Ruilin
Like others have stated. Just open the project or solution in vs2010 and let it convert and backup. Then start walking down the list of errors one at a time. If it's just vc++ and no extensions it should be easy.
-
Like others have stated. Just open the project or solution in vs2010 and let it convert and backup. Then start walking down the list of errors one at a time. If it's just vc++ and no extensions it should be easy.
-
Like others have stated. Just open the project or solution in vs2010 and let it convert and backup. Then start walking down the list of errors one at a time. If it's just vc++ and no extensions it should be easy.
Gurus, Please help on this warnning message when I built: 1>d:\test\blast_vib_proc_new\blast_vib_procdlg.cpp(211): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(234) : see declaration of 'fopen' 1>d:\test\blast_vib_proc_new\blast_vib_procdlg.cpp(223): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(234) : see declaration of 'fopen'
-
Gurus, Please help on this warnning message when I built: 1>d:\test\blast_vib_proc_new\blast_vib_procdlg.cpp(211): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(234) : see declaration of 'fopen' 1>d:\test\blast_vib_proc_new\blast_vib_procdlg.cpp(223): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdio.h(234) : see declaration of 'fopen'
Next time, post another question... but that's just a warning telling you fopen() is not safe because MS implemented their own "secure" versions of certain functions that actually validate the input to them instead of causing a crash. Of course, you can choose to do your own validation and just ignore the warnings (you can turn them off). fopen_s: http://msdn.microsoft.com/en-us/library/z5hh6ee9%28VS.80%29.aspx[^] Description of security enhancements and how to disable those warnings: http://msdn.microsoft.com/en-us/library/8ef0s5kh%28v=vs.80%29.aspx[^]
-
Next time, post another question... but that's just a warning telling you fopen() is not safe because MS implemented their own "secure" versions of certain functions that actually validate the input to them instead of causing a crash. Of course, you can choose to do your own validation and just ignore the warnings (you can turn them off). fopen_s: http://msdn.microsoft.com/en-us/library/z5hh6ee9%28VS.80%29.aspx[^] Description of security enhancements and how to disable those warnings: http://msdn.microsoft.com/en-us/library/8ef0s5kh%28v=vs.80%29.aspx[^]