How can I convert a .dfm file to text and vise versa.

Question:

How can I convert a .dfm file to a text file, and then back to a .dfm file?

Answer:

Use the Convert.exe file found in the Delphi\C++ Builder bin directory.

Example:

C:\Delphi\convert enum.dfm enum.txt

C:\Delphi\convert enum.txt enum.dfm