Conversion from legancy VS C++ Version 6

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I been handed the job of converting a large 1998 application so it will
compile. There needs to be some minor chages to the code that is driving
this project. There are some embedded Crystal Reports that use the API and
engine on a SQL database. Has anybody done a similar conversion and if so
what should I know in advance before starting.

Thanks
 
My suggestion is to use conditional compilation so that your code can always be
compiled via VC6.
#if _MSC_VER >= 1400
// VC8 specific code

#else
// VC6 code

#endif

I have done such thing before and there is not so much work to do.
 
I been handed the job of converting a large 1998 application so it will
compile. There needs to be some minor chages to the code that is
driving this project. There are some embedded Crystal Reports that use
the API and engine on a SQL database. Has anybody done a similar
conversion and if so what should I know in advance before starting.

Charles:

I would just convert it and see what happens. I do not know of any
runtime issues with converting, so if you can get the code to compile it
will probably run correctly. But of course you have to test it.
 
Back
Top