Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC6 VC8.0
Hi Experts,
 
I have a set of VC++6(Microsoft Visual Studio 6)projects. I want to convert the projects into VC++8(Microsoft Visual Studio 2008). While converting the projects I am getting lots of linking and type mismatch error. Can you please tell the steps to convert the project from VC++6 to VC++8.
Posted 2-Mar-12 2:48am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You're just going to have to muscle through it, and resiolve them one at a time. Most of the errors/warnings you get probably relate to deprecated versions of C runtime functions. There is a way to "ignore" the warnings regarding the C runtime functions. It involves a pragma setting (google is your friend), but the BEST way to approach it is to actually fix the code.
  Permalink  
Comments
Arun India at 2-Mar-12 7:56am
   
Thank you so much John. Also could you please let me know how to link a library to project in VC++8(I am new to VC++8).
   
Why would you think it would be any different than what you did in VC6?
Arun India at 2-Mar-12 8:20am
   
John, I am basically from C sharp development and new to VC++ environment. So could you please tell the linking of library in VC project?
   
It's been seven years since I did any unmanaged code. Google is your friend.
SAKryukov at 4-Mar-12 1:26am
   
Agree, a 5.
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

Yes while converting a VC6 solution to VC8, there are chances to get lot of linker and type mismatch errors. For this you have to verify the include and libraries include folders present under "Tools->Projects & Solutions->VC++ Directories". There is not particular steps for this conversion, Visual Studio does this automatically. After conversion you have to resolve this issues, its basically comes because of wrong include files or wrong library linking. So take one error, Google it and once you solve one error you will see a lot of errors has gone..
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 5,130
1 DamithSL 4,237
2 Maciej Los 3,700
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,846


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 2 Mar 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100