The StreamWrap program demonstrates how to derive a class from the
TPJSteamWrapper class. The demo implements a class that can read and write
strings from and to a stream.

This is a VCL project.