DelphiDabbler Wiki



Console Application Runner ClassesClasses

Project: Console Application Runner Classes

The following classes are provided by the project:

ClassDescription
TPJCustomConsoleAppBase class for TPJConsoleApp. Provides all functionality but declares all properties protected. Use this class if creating sub-classes that do not want to make all properties public or need to execute custom code within the class rather than handling events.
TPJConsoleAppMain console application class. Makes all properties inherited from TPJCustomConsoleApp public. Use instances of this class when working with console processes.

The following classes and units, now part of the I/O Utility Classes project were part of this project before the release of v3.0, when they were removed. Documentation of the classes has now been transferred into the I/O Utility Classes Programmer's Guide, but is still relevant if you are using the Console Application Runner Classes v2.0 or earlier.

ClassUnitDescription
TPJPipePJPipeThis class encapsulates an un-named pipe. It simplifies read and writing the pipe and creating pipes with inheritable handles. Use this class when redirecting console application standard input, output and error channels using pipes.
TPJFileHandle
[v2.0]
PJFileHandleThis class can create or open files in various access and sharing modes with specified security and provide access to the file handle. It makes it easy to create or open files with inheritable handles easy. Use this class when redirecting console application standard input, output and error channels from and to pipes.
TPJPipeFilter
[v2.0]
PJPipeFiltersAbstract base class for all classes that filter data read from pipes.
TPJAnsiSBCSPipeFilter
[v2.0]
PJPipeFiltersPipe filter that constructs valid ANSI strings from data read from pipe. Strings are also parsed into lines. Only single byte character sets are supported.
TPJUnicodeBMPPipeFilter
[v2.0]
PJPipeFiltersPipe filter that constructs valid Unicode strings from data read from pipe. Strings are also parsed into lines. Only characters from Unicode's basic multilingual plane are supported.
Page last modified on March 25, 2013, at 01:26 PM