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.

ProcessInfo property

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

property ProcessInfo: TProcessInformation;


ProcessInfo is a read only property that provides process information for the executing console application. All fields are zero when no application is executing.

The property is only of use inside OnStart, OnWork and OnComplete event handlers since these are the only way of accessing it when a process is running. Outside these events ProcessInfo is undefined and should not be read.


See the Windows API documentation for information about the fields of TProcessInformation.

The property is public in TPJConsoleApp and protected in TPJCustomConsoleApp.