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.

Create constructors

Project: I/O Utility Classes

Unit: PJPipe

Class: TPJPipe

Applies to: ~>1.0

constructor Create(const Size: LongWord; const Inheritable: Boolean = True);
  overload;

constructor Create(const Inheritable: Boolean = True);
  overload;

constructor Create(const Size: LongWord; const Security: TSecurityAttributes);
  overload;

constructor Create(const Security: TSecurityAttributes);
  overload;

Description

There are four overloaded constructors, each of which creates a pipe with certain characteristics depending on the parameters.

All versions of the constructor raise EInOutError exceptions if the pipe can’t be created. The exception message includes the reason for failure that was returned from the operating system.