Click here to Skip to main content
11,584,622 members (70,855 online)
Click here to Skip to main content
Add your own
alternative version

VC++7 to VC++6 project converter

, 22 Oct 2003 778.7K 24.2K 245
This tool automatically converts Visual C++ 7.0 projects back to Visual C++ 6.0 projects.
#pragma once

// slnprocess class
// S.Rodriguez - Sept 2002
// purpose : convert a .sln file format to a .dsw file format
//           (a .sln file is the main file of a VisualStudio solution)

#include "CString.h"
#include "CFile.h"
#include "Templates.h"

class slnprocess

	// Members
	CString m_szSolutionName; // .sln fully qualified filename
	CStdioFile m_inputFile;
	CFile m_outputFile;
	ProjectArray m_projects;

	// Constructor

	// Methods
	void process(CString &szSolutionName); // *.sln passed as parameter in the cmdline
	void processProjectOnly(CString &szProjectFullPath); // *.vcproj passed as parameter in the cmdline

	// Helpers
	void processProject(CString &sFirstLine);
	void processProjectDependencies(CString &sFirstLine);
	void writeDswHeader();
	void writeDswProject(PROJECTPARAM *p);
	void writeDswFooter();

	BOOL isFullPath(CString &szFilepath);

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Addicted to reverse engineering. At work, I am developing business intelligence software in a team of smart people (independent software vendor).

Need a fast Excel generation component? Try xlsgen.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150707.1 | Last Updated 23 Oct 2003
Article Copyright 2002 by Stephane Rodriguez.
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid