Shell Folders Unit
Demo Program ReadMe

Introduction

This project is provided with the DelphiDabbler Shell Folders Unit to demonstrate how to use some of the code in the unit.

The project was created with Delphi 4 and Delphi 2006 and compiles on all Win32 Delphis from v4 to 2006.

Installing the Demo Project

The demo project is provided in the same zip file as the Shell Folders Unit. Ensure the unit's components are installed before trying to compile this demo. Copy the code from the Demo subfolder of the zip drive to some suitable location on your hard drive then open the ShellFolderDemo.dpr project in Delphi.

Overview

The demo program exercises much of the main code in PJShellFolders.pas. On starting the program displays information about each of the supported special shell folders in the main part of the window. This information is:

Below the main display are several controls:

Source Code

The main purpose of this demo is to examine the source code. The code of the ShellFolderDemoForm unit illustrates the following:

Please run the program and examine the source code to get an idea about how to use the PJShellFolders unit.

Please let me know if you have any comments the components or this demo or if you have found a bug.