|
i have thousands of VC++ 6 Projects, now i want to batch upgrade and build them to VC++ 2010.
i don't know how to do that.
Any body can help me?
|
|
|
|
|
|
Thank you so much for your reply. But, can you post the Script which can work for VC++ 2010?
Because I'm not using VC++ .Net.
|
|
|
|
|
Falconapollo wrote: i want to batch upgrade and build them to
I doubt that is realistic.
There is no reasonable scenario in which a QA department could be expected to verify those and no way that Operations/Support could be expected to put thousands into production at the same time.
Thus a planned rollout involving small sets is required. And small sets can be upgraded manually.
Even if everything went smoothly with say the first 100 one would still want to have a grace period between production and the next batch to insure that some serious problem didn't develop. Attempting to rollback tens versus thousands of apps is obviously very different.
|
|
|
|
|
jschell wrote:
I doubt that is realistic.
Why is it not realistic ?
It might be part of a bigger process to upgrade their code-base to a newer compiler/system; maybe a year long process (not uncommon for large systems).
Maybe they have a unit test system in place to validate all their code and system tests to validate the outputs.
I think thinking about a way to automatize converting their project files is good thinking; I would not want to have to double click on 1000s of dsw/dsp in VS2010 and manually upgrade the project files.
Nihil obstat
|
|
|
|
|
Maximilien wrote: Why is it not realistic ?
Restating what I already said...the mas rollout cannot be done all at once.
Maximilien wrote: Maybe they have a unit test system in place to validate all their code and
system tests to validate the outputs.
Anyone that relies on that as their sole production test deserves the problems that can occur.
Maximilien wrote: I would not want to have to double click on 1000s of dsw/dsp in VS2010 and
manually upgrade the project files.
A phased rollout means that you must support the current production set, not what might be in a year from now. And using a branch (with the older versions) to support most of production for a year just so you don't have to click a few buttons once a week doesn't seem cost effective to me.
|
|
|
|
|
Unit testing is only one of many validation tools when updating code to newer compilers.
Maybe they have tons of small and simple libraries (.lib) projects that need to be upgraded and when all tests are passed and validated they will be released. (AFAIK) The library are not compatible between VC6 and VS2010; so they might have to do it "all at once" (an exe build with VC cannot use a VS2010 library and vice-versa).
In the OP's particular case, coming from VC6, it might be the least of their problems if they have been doing C++ and MFC; just fixing all of the compilation errors and warning will probably take forever.
Just updating the project files will be at best hard, even if they can automatize them.
Nihil obstat
|
|
|
|