RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TReader.FixupReferences Method

Resolves references when streaming properties that are represented by another component.

Pascal
procedure FixupReferences;
C++
__fastcall FixupReferences();

FixupReferences is used internally by the streaming system to resolve the named references from the stream into instance references. Users would never need to call this method. 

The reader object calls BeginReferences and creates a list of all the objects read and their names. After all the interdependent objects are read, FixupReferences is called to resolve the references among various mutually dependent components read from the reader object's stream after all of the objects have been read. Finally, call EndReferences to dispose of the fixup list. 

FixupReferences is always used inside a try...finally (Delphi) or try...__finally (C++) block between calls to BeginReferences and EndReferences

 

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