README.md

June 5, 2026 ยท View on GitHub

The Delphi Preview Handler is a preview handler for Windows Vista, 7, 8, and 10 that allows you to read your source code with syntax highlighting without having to open it in an editor.

Features

  • Supports Windows Vista, 7, 8, and 10 on 32-bit and 64-bit systems.
  • 50+ syntax highlighting themes.
  • 60+ source code extensions supported.
  • Themes compatible with the Delphi IDE Theme Editor.

This preview handler can render the following file extensions:

ExtensionsDescriptionPreview
.pp, .pas, .lpr, .lpk, .lfm, .incFree Pascal/Lazarus files
.pas, .dpr, .dpk, .inc, .dproj, .bdsprojDelphi files
.c, .cpp, .cc, .h, .hpp, .hh, .cxx, .hxx, .cuC and C++ source files
.asmAssembler source files
.e, .aceEiffel files.
.f, .forFortran files.
.javaJava files.
.csproj, .xaml, .sln, .vcxproj, .vbproj, .jsproj, .appxmanifestVisual Studio files
.bas, .vbVisual Basic files.
.cbl, .cobCOBOL files.
.csC# files
.cssCascading Stylesheet files
.htm, .htmlHTML documents
.jsJavaScript files
.php, .php3, .phtmlPHP files
.vbsVBScript files.
.bat, .cmdMS-DOS batch files.
.dfm, .xfmBorland form files.
.pl, .pm, .cgiPerl files
.pyPython files
.rb, .rbwRuby files
.shUNIX shell scripts.
.sqlSQL files
.issInno Setup scripts
.iniINI files.

Important Note about installing a new version

To avoid problems, you must follow these steps when installing or registering a new version of the preview handler.

  1. Close all Windows Explorer instances where the preview handler is active or has been used. Remember that the DLL remains in memory until Windows Explorer is closed.
  2. Unregister the previous version by running the uninstaller located in C:\Program Files (x86)\TheRoadToDelphi\DelphiPreviewHandler or C:\Program Files\TheRoadToDelphi\DelphiPreviewHandler.
  3. If you install the preview handler manually, you must unregister it using UnRegister.bat running as administrator.
  4. Now proceed with the installation of the new version.

Looking for the installer? Check the Release Area.