RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THandleStream Class

THandleStream enables applications to read from and write to communications resources identified by a handle.

Pascal
THandleStream = class(TStream);
C++
class THandleStream : public TStream;

Classes

Use THandleStream to access files, sockets, named pipes, mailslots, or other communications resources that provide a handle when opened. For example, the FileOpen function provides a handle for a file on disk. THandleStream allows applications to use a uniform stream interface when performing I/O using a handle. 

To avoid the overhead of managing file handles, use TFileStream to work with disk files. 

 

FileClose 

FileCreate 

FileOpen 

TFileStream

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!