|
If it's VC6 then it is unlikely that it is a 16-bit app. VC4 on is 32-bit. As pointed out by others, your biggest problem is likely to be 3rd party libs.
Da Bomb
|
|
|
|
|
if it's all standard MFC with no external 3rd party libs, it should be a fairly straightforward conversion. and if you can stick to Win32, the job will be much simpler.
|
|
|
|
|
Dan Neely wrote: it's enough of a Codethulu-elephant that by the end of porting something from then I'd probably be able to drink Nagy under the table
Ever wondered what project Nagy encountered?
|
|
|
|
|
Now isn't that a scary thought.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
One thing that's prevented me from using anything more modern than VC6 for this[^] app is my reliance on CString , whose size increased over the years. Rather than fight this, I decided to convert the app to .NET in its next incarnation.
Also see this[^] MSDN link for additional data points.
/ravi
|
|
|
|
|
If it was passed by reference instead of by value, the code works seamlessly. What I find is a lot of the VC6 code normally pass CStrings by value.
|
|
|
|
|
I was referring to serialization of CString breaking between VC6 and VS2005+.
/ravi
|
|
|
|
|
I've converted several apps from earlier version of Visual Studio to the latest, including a 16-bit app. Quite often, I've solved several bugs along the way due to improved error checking by the compiler. It isn't that difficult and requires patience and being methodical. (I found it easier to concentrate on one file at a time. Once I get it working with Warning Level 3, I go to Warning Level 4 and apply a set of additions and exceptions I've found work really well.)
|
|
|
|
|
You're likely to find some issues because you're moving from pre-98 Standard C++ to C++ 11(ish) if you're going to migrate to VS2013... I started developing a project with VC6 back in 2001/2 that I've maintained ever since. It moved to VS2003 in 2005, VS2008 in 2010, VS2010 in 2012 and to VS2013 in the last month. I had the most problems moving from VC6 to VS2003, but after that, VS2010 to VS2013 had the most issues, all due to improved C++ standards compliance. Oh - and some deprecated Platform SDK / C runtime functions - but those deprecation warnings can be turned off with macros (or you can modify your code to conform with the warnings, of course).
However...take a copy of the project. Open it in VS2013. Rebuild. Fix compile errors. Rinse & repeat... Just do it, I suspect it'll be easier than you might think.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
CodeProject MVP for 2010 - who'd'a thunk it!
|
|
|
|
|
Jump directly to the latest? I was thinking in terms of walking up my collection of installed versions of VS incrementally upgrading as I go: 03, 08, 10; newer'd depend on either customer requests or getting past team mates balking at 12 as a 1.0 version and not wanting to install 13 because without a need for it keeping R#er while avoiding a fight with bean counters (not relevant for C++) and just not wanting to install another version that will then become part of the stack we need to keep installed forever more due to legacy apps we're on call for but otherwise have no update budget/mandate (this one really bugs me too).
Edit: A big part of why I'm thinking incrementally is that, assuming it's a VC6 (or prior) project and that none of my packratty coworkers have an MSDN cd with that version on it, initially targetting 2003 would be the quickest path to a working build.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Dan Neely wrote: Jump directly to the latest? I was thinking in terms of walking up my collection of installed versions of VS incrementally upgrading as I go: 03, 08, 10; Each version will introduce its own set of things that needs to be fixed. Having worked on a VC++ project that we took from 6.0 through to 2008 through the years, my gut feel is that your way will create extra work. The source isn't the only thing that needs updating, sometimes the project files do too.
The only benefit I can see of doing an incremental upgrade is if you also install the docs and can get some value out of their upgrade guides. Those have had helpful hints like the #define mentioned. I think sometimes the older info gets lost in newer rewrites.
We can program with only 1's, but if all you've got are zeros, you've got nothing.
|
|
|
|
|
I'd be tempted to go straight to your ultimate target version (whether that be VS2010, 2012 or 2013) with a **COPY** of the solution. If you find any really difficult problems, then you could try going via intermediate versions in the hope that the errors along the way will be lesser.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
CodeProject MVP for 2010 - who'd'a thunk it!
|
|
|
|
|
Source control means having arbitrarily many copies.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
You probably will need to add _CRT_SECURE_NO_WARNINGS;_CRT_NON_CONFORMING_SWPRINTFS; to your preprocessor defs to get it to compile without warnings.
onwards and upwards...
|
|
|
|
|
Are those actually fixing anything; or are they just rollups for disabling a bunch of warnings to greenwash the compiler output?
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Disables warnings for "non-secure" functions such as strcpy, strcat, sprintf, etc. that have been "deprecated" due to the MS secure initiative, pushing people to strcat_s that is length validated to help prevent buffer overflows. These didn't exist in VC6.
onwards and upwards...
|
|
|
|
|
Assuming we end up on contract for anything beyond a minimal make it run on w7 update I suspect making those substitutions will be an IA requirement we'll be expected to meet.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
|
No! You'll be telling me that Leslie Nielsen[^] is dead next!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I forgot he was in a coma. That explains the heart attack, you don't get much exercise lying in bed.
"The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold
|
|
|
|
|
He had a quad biking accident 16 years ago which left him in a coma for 5 days. He recovered from that albeit with epilepsy. I suspect the sudden death was related to tht as opposed to a heart attack.
|
|
|
|
|
They now think it was a fit of some kind.
"The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold
|
|
|
|
|
I hope he is Quote: on the last freedom moped out of Nowhere City, and we haven't even told our parents what time we'll be back
|
|
|
|
|
I just read this on a forum, the guy is talking about a part of south London, the Elephant and Castle, E&C, its hysterical:
"Come on big Jim, its so rough down there that the Elephant and Castle has twinned with Damascus. I heard community policing down there is done via a helicopter and a bungee rope!!!!!! Even the police dogs need counselling.
I was in a rare pub down there years ago and an American tourist commented on the quaintness of 'Ye Olde English ' look with all the saw dust spread everywhere. "Quaintness" said the landlord , that's what's left of the furniture after a punch up last night.
Any straying tourist (like Kevin Spacey did one night)would get the impression dogs grow on trees in Burgess Park but it's pit bull terriers going through jaw strengthening routines hanging off branches by their teeth !!!!!
Again it's so rough there that 'Mothercare' in the shopping centre had to hire 'bouncers'.
Putin has a video of him walking down the Old Kent Road to the Heygate late at night on his own. But everyone knew is was faked as he aint that tough. "
Brilliant, utter genius!
"The whole idea that carbon dioxide is the main cause of the recent global warming is based on a guess that was proved false by empirical evidence during the 1990s." climate-models-go-cold
|
|
|
|
|
I love the bit from QI (I think, might have been "Mock the Week) when they were discussing towns official catchphrases:
"Tower Hamlets: Lets..."
"Get Out Alive"?
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|