Resource Files Unit

Installation Notes

The resource file unit is PJResFile.pas and it is included in a zip file.

If you want to simply include the unit in your projects simply extract PJResFile.pas from the zip file and place it in the required folder. Either add the unit to your project or ensure the unit on the compiler search path and simply use it in your project.

The unit can also be installed into a Delphi package in a similar way to how components are installed. Installing to a package included in the component library means that the unit can simply be referenced in projects without adding it to the project. To do this, use the following instructions. (Note that $(DELPHI) refers to the directory where Delphi is installed.)

  1. Unzip the downloaded zip file into a folder of your choice, preserving the directory structure.
  2. Copy PJResFile.pas to where you wish to install into Delphi. This will probably be a sub-folder of the $(DELPHI)\lib folder.
  3. Install the unit into an existing package by choosing the Component | Install Component menu option to display the Install Component dialog box. Then:
  4. If you wish you can now delete PJResFile.pas from the place where you copied it (but ensure that the .dcu file is not deleted).

Note there is no help file for this unit, but the a user guide is included in the download where each routine, property and method is described and sample code is presented.