Resource File Unit

Encapsulates the contents of a whole resource file
Download

Resource File Unit Ranking & Summary

Advertisement

  • Rating:
  • Publisher Name:
  • Peter Johnson
  • Operating Systems:
  • Windows All
  • File Size:
  • 23 KB

Resource File Unit Tags


Resource File Unit Description

The Resource File Unit package contains classes that encapsulates 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 from and written to files or streams. - TPJResourceEntry Encapsulates a single resource within the file and provides properties to access its header record and its raw data. The class also provided 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. In addition to the two main classes, some helper functions are also provided that assist in working with resource identifiers. An exception class – EPJResourceFile – is also defined. Exceptions of this class are raised by both the main classes when errors are encountered. Some constants are defined for use with the memory flags field of resource header records. The RT_HTML and RT_MANIFEST resource types are also defined since they are not defined by Delphi.


Resource File Unit Related Software