Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

Handle property

Project: I/O Utility Classes

Unit: PJFileHandle

Class: TPJFileHandle

Applies to: ~>1.0

property Handle: THandle;

Description

Handle used to access the file.

This handle is set when one of the constructors opens or creates a file successfully. The handle will have value INVALID_HANDLE_VALUE if there was an error opening the file.

Handles, and hence the related files, are closed when the TPJFileHandle instance is freed.