TStream.ReadResHeader

Read a resource header from the stream.

Declaration

Source position: classesh.inc line 1117

public 
  procedure ReadResHeader;

Description

ReadResourceHeader reads a resource file header from the stream. It positions the stream just beyond the header.

ReadResourceHeader should not be called directly, it is called by the streaming system when needed.

Errors

If the resource header is invalid an EInvalidImage exception is raised.

See also

Name Description
EInvalidImage Exception raised when the resource header needed for streaming of a component is invalid.
TStream.ReadComponentRes Reads component data and resource header from a stream