Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 1.03 KB

TPJCustomConsoleApp-ProcessInfo.md

File metadata and controls

25 lines (14 loc) · 1.03 KB

ProcessInfo property

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

property ProcessInfo: TProcessInformation;

Description

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.

Remarks

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

The property is public in TPJConsoleApp and protected in TPJCustomConsoleApp.