Getting VC6 code to compile on VS2008
-
Hello All, What's the best way for someone, who knows just enough of C++ to know what to search for on the internet and piece programs together that way, to get VC6 programs to compile under VS2008. It there a way to get the compiler to ignore pieces of code that do not comply with new standards? or is there some software that will rewrite the old code so that it will comply with newer standards? or is there another way of doing this that doesn't require me to fully learn the historical development of C++ under windows? Thanks, G
-
Hello All, What's the best way for someone, who knows just enough of C++ to know what to search for on the internet and piece programs together that way, to get VC6 programs to compile under VS2008. It there a way to get the compiler to ignore pieces of code that do not comply with new standards? or is there some software that will rewrite the old code so that it will comply with newer standards? or is there another way of doing this that doesn't require me to fully learn the historical development of C++ under windows? Thanks, G
Someone else might have but I haven't heard of anything that would upgrade non-compliant code to current standard. Is there some reason that you could not use a prior version of Visual Studio to get the code to compile? That would be the only way I know of.
Why is common sense not common? Never argue with an idiot. They will drag you down to their level where they are an expert. Sometimes it takes a lot of work to be lazy Individuality is fine, as long as we do it together - F. Burns
-
Hello All, What's the best way for someone, who knows just enough of C++ to know what to search for on the internet and piece programs together that way, to get VC6 programs to compile under VS2008. It there a way to get the compiler to ignore pieces of code that do not comply with new standards? or is there some software that will rewrite the old code so that it will comply with newer standards? or is there another way of doing this that doesn't require me to fully learn the historical development of C++ under windows? Thanks, G
Just think how much more C++ you'll know after upgrading the code to current standards yourself :) Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Hello All, What's the best way for someone, who knows just enough of C++ to know what to search for on the internet and piece programs together that way, to get VC6 programs to compile under VS2008. It there a way to get the compiler to ignore pieces of code that do not comply with new standards? or is there some software that will rewrite the old code so that it will comply with newer standards? or is there another way of doing this that doesn't require me to fully learn the historical development of C++ under windows? Thanks, G
Ylno wrote:
It there a way to get the compiler to ignore pieces of code that do not comply with new standards?
While it won't solve all that ails you, check out
_CRT_SECURE_NO_DEPRECATE
."Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
-
Hello All, What's the best way for someone, who knows just enough of C++ to know what to search for on the internet and piece programs together that way, to get VC6 programs to compile under VS2008. It there a way to get the compiler to ignore pieces of code that do not comply with new standards? or is there some software that will rewrite the old code so that it will comply with newer standards? or is there another way of doing this that doesn't require me to fully learn the historical development of C++ under windows? Thanks, G
It seems you are new to c++,do you want to compile your old project on the VS2008,after compile VS2008 give you a report of errors and warnings.