将VC ++ 6转换为VC ++ 8 [英] Converting VC++6 to VC++8

查看:84
本文介绍了将VC ++ 6转换为VC ++ 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,专家,

我有一组VC ++ 6(Microsoft Visual Studio 6)项目.我想将项目转换为VC ++ 8(Microsoft Visual Studio 2008).在转换项目时,我得到很多链接和类型不匹配错误.您能告诉我将项目从VC ++ 6转换为VC ++ 8的步骤吗. ,并一次解决一个问题.您得到的大多数错误/警告都可能与C运行时函数的过时版本有关.有一种方法可以忽略"有关C运行时功能的警告.它涉及一个杂注设置(google是您的朋友),但是最好的解决方法是实际修复代码.


是的,将VC6解决方案转换为VC8时,有机会得到很多链接器和类型不匹配错误.为此,您必须验证工具->项目和解决方案-> VC ++目录"下的include和library include文件夹.此转换没有特定的步骤,Visual Studio会自动执行.转换后,您必须解决此问题,其根本原因是错误的包含文件或错误的库链接.因此,将一个错误带到Google,一旦您解决了一个错误,您就会发现很多错误都消失了..


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.

解决方案

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.


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..


这篇关于将VC ++ 6转换为VC ++ 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆