如何在Visual Studio 2010中导入/使用Visual Studio 6中编写的c ++代码。 [英] How the c++ code written in visual studio 6 can be imported/used in visual studio 2010.

查看:105
本文介绍了如何在Visual Studio 2010中导入/使用Visual Studio 6中编写的c ++代码。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些c ++代码(MFC /桌面应用程序)已在visualStudio 6中编写和编译。但是当我在我的项目中包含那些用于在visual studio 2010中定义的文件时,我遇到了麻烦。



我的问题是,如果这些版本的vs之间存在向后兼容性,那么为什么我无法使用vs 2010中的代码。

I have some c++ code(MFC/Desktop Application) that has been written and compiled in visualStudio 6. But i am facing trouble when i include those files in my project that i use to define in visual studio 2010.

My question is that if there exists a backward compatibility between these versions of the vs, then why i am not been able to use the code in vs 2010.

推荐答案

它应该以某种方式工作,但它取决于你的代码,因为C ++已经发展。我的提示是,您在2010年之前的Visual Studio版本中打开并保存VS6项目一次以转换解决方案文件。



提示:谷歌查看显式错误号/ text或在下一个问题中写下它们。我们都无能为力!!!
It should work somehow, but it depends on your code because the C++ has evolved. My tip is that you open and save the VS6 project once in a Visual Studio version prior to 2010 to converse the solution file.

Tip: google for the explicit error numbers/texts or write them in your next question. WE ALL CANT GUESS!!!


这篇关于如何在Visual Studio 2010中导入/使用Visual Studio 6中编写的c ++代码。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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