RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THandleStream.Create Constructor

Creates an instance of THandleStream.

Pascal
constructor Create(AHandle: Integer);
C++
__fastcall THandleStream(int AHandle);

Call Create to instantiate a THandleStream for a given handle. 

The handle must be obtained by opening or creating the resource in the appropriate mode. For example, to create a handle stream for reading from a file, obtain the file handle by opening the file with an fmOpenRead or fmOpenReadWrite mode. To create a handle stream for writing to a file, obtain the file handle by opening the file with an fmOpenWrite or fmOpenReadWrite mode. 

 

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