in reply to RE: Data Structs
in thread Data Structs

A .dsw file contains a list of projects which are "related". Each project, represented as a .dsp file which contains the locations of the source code and the compiler flags, is compiled as a library or executable or whatever. The .dsw file is nice in that it contains a list of dependancies each project has (but not so nice in that it lists them by project name instead of .dsp file)

That said, here are the relevant parts of a typical project listing in a .dsw file and the regex's I was using:

Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!

###############################################################################

Project: "Utilities"=.\Util.dsp - Package Owner=<4>

Package=<5>
{{{
    begin source code control
    "$/Shared/UTIL", QGFAAAAA
    .
    end source code control
}}}

Package=<4>
{{{
    Begin Project Dependency
    Project_Dep_Name Win32Wrapper
    End Project Dependency
    Begin Project Dependency
    Project_Dep_Name PersistantData
    End Project Dependency
}}}

###############################################################################