Click here to Skip to main content
12,996,709 members (78,140 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 1:48am
Rate this: bad
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.
Arun India 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 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 4-Mar-12 1:26am
Agree, a 5.
Rate this: bad
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..

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170609.2 | Last Updated 2 Mar 2012
Copyright © CodeProject, 1999-2017
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