Delphi Database, Delphi Components from ComponentAce
Products Download Order Contact us



Writes components and their properties to a stream from a Windows resource file format.


procedure WriteComponentRes(const ResName: string; Instance: TComponent);



WriteComponentRes is used internally in the VCL streaming system, but can also be called directly when sending data to other applications on disk. WriteComponentRes is used for streaming components that need data, such as a bitmap, or icon to be stored specifically in a Windows resource-file format.


WriteComponentRes calls WriteDescendentRes, passing in nil as the Ancestor. Therefore, WriteDescendentRes initiates the remainder of the streaming process for a component that, in this case, is not a descendant.


To read a component written with WriteComponentRes, call the ReadComponentRes method.

        © 2003 - 2020 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Sep 29, 2020