DelphiFAQ Home Search:
General :: Programming :: Delphi :: Delphi IDE
Information about the Delphi IDE, add-in experts and wizards.

Articles:

This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Only the 40 most recently viewed articles are shown.
You can see the full list here.

Featured Article

Where in the project files does Delphi store icons?

Question:

After I add an icon to Project, Options, Application, what file(s) must I back up (or update to my version control system) to be sure the changes are backed up?


Answer:

The .res file contains the icon and version information. The .dof file also contains this, but it can be erased safely as it is refreshed from the .res file whenever you load a project into the IDE.

The command line compiler uses the .res file only. The IDE uses both. I would strongly recommend not saving the .dof file to your version control system since it can also contain things that you don't want stored there, such as a list of components to be loaded when starting the project -- if Joe is developing a component and he saves his .dof file to the vcs, Ralph may end up not being able to start Delphi because Joe's component still needs work or isn't installed on Ralph's
machine.

Generated 4:01:05 on Jan 27, 2020