[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TStream.ReadResHeader

Read a resource header from the stream.

Declaration

Source position: classesh.inc line 791

public procedure TStream.ReadResHeader;

Description

ReadResourceHeader reads a reasource 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

TStream.ReadComponentRes

  

Reads component data and resource header from a stream

EInvalidImage

  

Exception raised when the resource header needed for streaming of a component is invalid.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.