Resource File Unit 1.0

By Peter Johnson

Freeware 23 Sep 2004

In category

Components > System > Resources


This unit contains classes that encapsulate Windows 32 bit binary resource files and the resources contained in them. The main functionality is provided by two classes:
  • TPJResourceFile - encapsulates the contents of a whole resource file and provides methods and properties for reading, finding, editing, adding and deleting resources. Resource files can be read and written from and tofiles or stream.
  • TPJResourceEntry - encapsulates a single resource within the file and provides access to its header properties and to its raw data along with methods to check the identity of the resource. The resource’s raw data is made available as a TStream and so is easily read and written using familiar TStream methods. It should noted that the class has no knowledge of resource data formats and sees the data simply as a sequence of bytes.
In addition to the two main classes, some helper functions are also provided that assist in working with resource indentifiers.


  • Status: Fully functional
  • Source: FW
  • Size: 31 891kB


  • Delphi 4
  • Delphi 5
  • Delphi 6
  • Delphi 7