简体   繁体   English

如何使用Daffodil将旧的VC6项目移至VS2010

[英]How to move old VC6 project to VS2010 using Daffodil

I've been interested in this project lately. 我最近对这个项目很感兴趣。 I have an old legacy project made in VC6, which I hear is a great IDE but doesn't run smoothly on my machine. 我有一个用VC6制作的旧项目,听说它是一个很棒的IDE,但是在我的机器上运行不流畅。 I also don't know how to work with it. 我也不知道如何使用它。 A full blown move to a 2010/12 project is a big time spent so I wonder: 全面展开到2010/12项目是花费大量时间,所以我想知道:

  1. Can someone share some basic information on how to use this tool? 有人可以分享有关如何使用此工具的一些基本信息吗? I've been searching a lot and couldn't find anything more comprehensive than the site. 我一直在搜索很多东西,找不到比该网站更全面的东西。

  2. Which specific old VC6 tools do I need to make sure to have working for Daffodil? 我需要确保使用哪些特定的旧VC6工具才能使用Daffodil? (compiler, linker, etc) where are they located on the installed machine? (编译器,链接器等)在已安装的计算机上的什么位置?

To build your project in VS 2010: 要在VS 2010中构建项目,请执行以下操作:

  1. Make sure the VC 6 build tools are installed and working. 确保VC 6生成工具已安装并正在运行。
  2. Make sure VS 2010 and Daffodil are installed and working. 确保VS 2010和Daffodil已安装并正常工作。
  3. Open your VS 6 workspace in VS 2010. 在VS 2010中打开VS 6工作区。
    A. In Explorer, right-click on your VS 6 workspace (*.dsw) file. 答:在资源管理器中,右键单击VS 6工作区(* .dsw)文件。
    B. Choose Open With -> Microsoft Visual Studio 2010. B.选择“打开方式”->“ Microsoft Visual Studio 2010”。
    C. Perform the migration when prompted. C.根据提示执行迁移。
  4. Change the Platform Toolset to v60. 将平台工具集更改为v60。
    A. Right click on the project(s) and select Properties. 答:右键单击项目,然后选择属性。
    B. On the General page, set Platform Toolset to v60. B.在“常规”页面上,将“平台工具集”设置为v60。
  5. Build. 建立。

A quick read tells me that the concept of "Daffodil" is to use the VC6 compiler with the VS2010 IDE. 快速阅读告诉我,“ Daffodil”的概念是将VC6编译器与VS2010 IDE一起使用。 Therefore, you wouldn't run VS6 on your machine. 因此,您不会在计算机上运行VS6。 You just need the VC6 compiler and linker. 您只需要VC6编译器和链接器。

Start by letting Vs2012 migrate the project and see what doesn't work properly. 首先,让Vs2012迁移项目,然后看看有什么不正常的。 The newer compilers are much better -once you've gone through the pain of the conversion. 较新的编译器要好得多-一旦您经历了转换的痛苦。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 C ++:C1083:'afxwin.h':没有这样的文件或目录-带有VC6水仙花的VS2010 - C++: C1083: 'afxwin.h': No such file or directory - VS2010 with VC6 daffodil vc6到vs2010移植错误 - vc6 to vs2010 porting error 从VC6迁移到VS2010的MFC应用程序,现在OnInitDialog()没有调用CPropertyPage子类 - Migrated MFC app from VC6 to VS2010, now OnInitDialog() not called for CPropertyPage subclass 通过COM服务器上的其他线程发送数据时丢失数据-以前在VC6中工作,现在在VS2010中中断 - Data being lost when sent via a different thread over COM server - previously worked in VC6, now broken in VS2010 Qt + VS2010编译器:如何创建一个简单的项目,将其用于VC静态链接的Boost? - Qt + VS2010 compiler: How to create a simple project that would use compiled for VC staticaly linked boost? 如何在VS2010中重命名项目名称 - How to rename the name of project in VS2010 VC ++ Winforms自动生成的项目无法调试VS2010:“此项目已过时” - VC++ Winforms auto generated project won't debug VS2010: “This Project is out of Date” 在VC6中使用VS 2005库时出现编译错误 - Compilation error while using VS 2005 library in VC6 确定何时在VS2010中而不是VS2008中使用VC90编译器? - Determine when using the VC90 compiler in VS2010 instead of VS2008? 如何将VC6项目切换为Unicode - How do I switch a VC6 project to Unicode
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM