User`s manual

326 digi.com Project Files
The active project file name, without path or extension, is always shown in the leftmost panel of the status
bar at the bottom of the Dynamic C main window and is prepended to the Dynamic C version in the title
bar except when the active project is the default project.
Changes made to the compilation environment of Dynamic C are automatically updated to the active proj-
ect, unless the active project is factory.dcp.
16.2 Updating a Project File
Unless the active project is factory.dcp, changes made in the Project Options dialog will cause the
active project file to be updated immediately:
Opening or closing files will not immediately update the active project file. The project file state of the
recently used files appearing at the bottom of the
File menu selection and any opened files in edit windows
will only by updated when the project closes or when
File | Projects... | Save is selected. The Message,
Assembly, Memory Dump, Registers and Stack debug windows are not edit windows and will not be
saved in the project file if you exit Dynamic C while debugging.
16.3 Menu Selections
The menu selections for project files are available in the File menu. The choices are the familiar ones: Cre-
ate...
, Open..., Save, Save As... and Close.
Choosing
File | Project | Open... will bring up a dialog box to select an existing project filename to
become the active project. The environment of the previous project is saved to its project file before it is
replaced (unless the previous project is factory.dcp). The BIOS will automatically be recompiled
prior to the compilation of a source file within the new environment, which may have a different library
directory file and/or a different BIOS file.
Choosing
File | Project... | Save will save the state of the environment to the active project file, including
the state of the recently used filelist and any files open in edit windows. This selection is greyed out if the
active project is factory.dcp. This option is of limited use since any project changes will be updated
immediately to the file and the state of the recently used filelist and open edit windows will be updated
when the project is closed for any reason.
Choosing
File | Project... | Save as... will bring up a dialog box to select a project file name. The file will
be created or, if it exists, it will be overwritten with the current environment settings. This environment
will also be saved to the active project file before it is closed and its copy (the newly created or overwritten
project file) will become active.
Choosing
File | Project... | Close first saves the environment to the active project file (unless the active
project is factory.dcp) and then loads the Dynamic C default project, default.dcp, as the active
project. As with
Open..., the BIOS will automatically be recompiled prior to the compilation of a source
file within the new environment. The new environment may have a different library directory file and/or a
different BIOS file.