The Stream Extension Classes, documents, demos and unit tests 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:
-
PJStreamWrapper.pas
– source code of the TPJStreamWrapper class.
-
PJIStreams.pas
– source code of classes that implement the IStream interface.
-
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 also demo projects in the Demos
directory and unit tests in the Tests
directory.
There are three possible ways to use the units.
-
The simplest way is to add the units
PJStreamWrapper.pas
and PJIStreams.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.