Delphi 2005 freeware
Classes and units

[ dd-resfile.zip ] [ 31,891 bytes ] [ Freeware ] [ With Source ]
[ D4 | D5 | D6 | D7 | D2 ]

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:

  1. 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.
  2. 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.

Note that the classes have no knowledge of resource data formats and see the resource data simply as a raw sequence of bytes. It is for the user of the class to interpret the data correctly.

In addition to the two main classes, some useful helper functions and constants are also provided.

The download includes a UserGuide that provides detailed description of the classes, along example code for the key methods.


Added: 7-11-2005   |  Version: 1.0   |  Downloads: 288/288/24
Author:Peter D Johnson   [Homepage]   [DSP files]

© 1995-2006 Robert M. Czerwinski ( The Delphi Super Page a.k.a. DSP ).
All rights reserved.