RAD Studio VCL Reference
TStream.FixupResourceHeader Method

Patches the resource header for a resource that has been written to the stream.

procedure FixupResourceHeader(FixupInfo: Integer);
__fastcall FixupResourceHeader(int FixupInfo);

Do not call FixupResourceHeader, it is used internally. The WriteDescendentRes method calls FixupResourceHeader after writing a component to the stream. This method then uses the current position to determine the size of the resource just written and adjust the resource header accordingly. 

The FixupInfo parameter is the value returned by WriteResourceHeader when it writes the resource header (before WriteDescendentRes streams out the component). 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!