The I/O Utility Classes are supplied in a zip file. Before installing you need to extract all the files from the zip file, preserving the directory structure. The following files will be extracted:
-
PJFileHandle.pas
– source code of the class used to open files in various sharing and security modes.
-
PJPipe.pas
– source code of the class used to encapsulate un-named pipes.
-
PJPipeFilters.pas
– source code of classes used to filter output from pipes.
-
ReadMe.htm
– read-me file.
-
ChangeLog.txt
– project change log.
-
MPL-2.txt
– the Mozilla Public License v2.0.
-
Documentation.URL
– short-cut to the unit's online documentation.
There are three possible ways to use the units.
-
The simplest way is to add
PJFileHandle.pas
, PJPipe.pas
and PJPipeFilters.pas
to your projects as you need them.
-
To make the units easier to re-use you can either copy them to a folder on your Delphi search path, or add the folder where you extracted the units to the search path. You then simply use the units as required without needing to add them to your project.
-
For maximum portability you can add the units to a Delphi design time package. If you need help doing this see here.