How to open a SLn project file with VC 6.0?

Source: Internet
Author: User

How to open the SLN project file with VC 6.0. Before answering this question, make clear the definition and relationship between DSW file and SLN file.


1.DSW file is what it is.

Due to the frequent use of VC6.0 for programming, the suffix DSW for its engineering files is more familiar. DSW file is to record the entire project information, open it, you can access the program editing and debugging interface.

VC6.0 was launched in 1998, and the current Microsoft Visual programming environment is already quite old. VC 6.0 is known as Microsoft Visual C + + 6.0, is a C + + language compiler, but also a powerful software development tool. Since 1993, Microsoft launched VC1.0, and constantly upgrade, access to the vast number of programmers love. In fact, Microsoft also introduced VC + + 7.0, that is, visual c++.net, but this 7.0 application is limited by the operating system, can only be used on Windows 2000,windowsxp and WindowsNT 4.0. So it is still mostly VC6.0 in use. VC6.0 almost all of the operating systems are supported. Some people say, and Win7 incompatible, participate in the article http://blog.csdn.net/zhongjling/article/details/7791276.


2. What is the SLn file? It is also a project document. But it's not VC6.0. It is Microsoft's new visual development environment engineering files. Includes Visual Studio.NET 2002, Visual Studio.NET 2003, but the next version erases the Net word, such as Visual Studio, Visual Studio 2008, Visual St Udio 2010, please see http://wenku.baidu.com/view/0a87ab3167ec102de2bd89e5.html for details.


3. In programming practice, sometimes when downloading the source code on the Internet, only the sln file is found. No DSW. What to do.

Workaround one: By the suffix of its sln, it is known that this project was created with a VC + +. NET 2003 version, and its project file is. vcproj (equivalent to VC6. DSP), and the solution file is. sln (equivalent to VC6. DSW) So it takes 2003 or more to open it. , open. vcproj or. sln is OK. How to know which version it is.

   Open the. vcproj file in Notepad, see his first few lines have a line like this:
   version= "9.00"
   9.00 is created with VS2008
   8.00 is created with VS2005
   7.10 is with vc++.net 2003 Created by
The disadvantage of this approach is that downloading a huge vs file is too much trouble.
Workaround two: Download the conversion tool
If this project was created with VC + +. NET 2003, then there is a tool that can turn it into a VC6 project. 
http://www.vckbase.com/tools/downtools.asp?id=164 (not tried)
http://download.csdn.net/download/guosenjuncs/2785407 (this after trial, really feasible, using the process, there are some compiler errors to change their own, for the link occurs when a special IA64 folder is not very clear. In addition, special attention should be paid to change the DSW file after the conversion of the project-"Settings-" General and Debug tabs inside the path ... )
Workaround Three:
  you will need to manually create a project of the same name with VC6, and then replace or add the existing project file. Add all the H and CPP files as well as the resource files. I've tried it before, and it's doable.






Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.