Click here to Skip to main content
15,891,880 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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.
 
Share this answer
 
Comments
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).
#realJSOP 2-Mar-12 8:01am    
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?
#realJSOP 4-Mar-12 6:26am    
It's been seven years since I did any unmanaged code. Google is your friend.
Sergey Alexandrovich Kryukov 4-Mar-12 1:26am    
Agree, a 5.
--SA
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..
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900