This repository is a collection of (maybe) useful Delphi projects and code snippets I wrote or collected from the internet over the years. It will be extended from time to time.
A function to expand file paths that include environment variables and relative path components.
A unit with generic helper functions for arrays, enums and sets.
A function to get the size of a file as a Int64
value.
Units for generic INI file handling. Example code included.
A function to analyze the PE header of an EXE
file in order to get the info if it is a console application.
Converts a number to its SI-prefixed equivalent.
A function to revert the bits of an UInt32 in a very efficient way.
A function to run a console program with provided command line arguments and capture its output to STDOUT.
Delphi units that can be included into own Delphi projects in order to be able to write a single-instance application. Demo program included.
A unit providing a Smart Pointer implementation.
A unit with conversion routines from/to Delphi's TDateTime
.
A small Windows system tray application that allows you to mute your microphone by clicking on its icon or using a global keyboard shortcut.