created: 2005-09-23
modified: 2007-05-25

Sandkasten: useful routines for Delphi programmes

Current version
Download (15KB), Delphi 5 source code.
Collection of Delphi (I am using Version 5) routines
uSandkasten is freeware that comes without any warranty or support. Thus you use it at your own risk. You may even use it in commercial products as long as you don't charge your customers for the added value.
Not all routines are written by myself. Credit is given in the source file where it is due.

Important note: The current version fixes a bug in TGetOpt when treating long options that have short equivalences. And another one when creating TLogFileStreams and truncating files.


No installation needed: Just copy the units to your Delphi library directories or into your project directory. I recommend using a dedicated directory for the Sandkasten, though. You'll have to add the path to it to Delpih's or your project's library paths.

Note: I split the unit up into several pieces. The reasoning behind this was that I wrote a console application where I didn't want to have the forms and comctrls units. If you need specific parts, just use the subunits:

Or just use uSandkasten which combines all of them, if you're in a large project with all those units anyway.


These are the routines that are implemented in my uSandkasten, grouped by their appearance in the various sub-units.