Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

ReadHandle property

Project: I/O Utility Classes

Unit: PJPipe

Class: TPJPipe

Applies to: ~>1.0

property ReadHandle: THandle;


This read only property provides access to the Windows handle used to read data from the pipe.

This handle can be passed to file reading routines that take a handle as a parameter, such as those provided in Delphi’s SysUtils and Windows units. Alternatively, if you want to read from the pipe via a TStream object, create a THandleStream instance for the handle.


Do not pass this handle to any Windows API function that may alter it (e.g. CloseHandle).