Studio Workspace Configuration Files
The Studio Workspace (.sws) file is automatically created for a new workspace in the root directory of your workspace. The file is an INI type of file and contains:
- Version Information
- Workspace Paths
- Project Names
- Libraries used in the workspace
- Subclass names and packages for standard classes
A typical .sws file can look like:
[Properties]
Version=12.0
[WorkspacePaths]
ConfigFile=.\Programs\Config.ws
[Libraries]
Lib1=..\Example Library\Example Library.sws
[Projects]
Project0=ComSamples.src
Project1=DataDefinition.src
Project2=EmbSQLSample.src
Project3=InetTransfers.src
Project4=MAPI.src
Project5=Organization.src
Project6=RichEditApp.src
Project7=XML-Sample.src
Project8=Chapter3.src
Project9=ComposeMessage.Src
Project10=SP_Help.src
Version Information
The version information tag in the .sws file is a future feature setting. The functionality that will be attached to this setting has not been implemented.
Workspace Paths
The workspace paths are stored in the Workspace (.ws) configuration file. The path to the .ws file for the workspace is stored in the .sws file.
Project Names
Each individual executable that you develop within a workspace is called a project. A workspace can therefore have one or more projects. All known projects are stored in the .sws file and loaded inside the studio so that you can select the current project.
Libraries
A Library is a group of classes (files) that are defined in a way that they can be used by multiple workspaces. The .sws file stores the relative path to the .sws file(s) for all libraries used.
Subclass Names
If you create a subclass based on one of the standard classes used in the Studio when creating controls and you want your subclass to be used instead of the base class, you can specify this as your preference. When you alter the class preference list, you add entries to this section of the .sws file.