Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
CodeDelphiTech Partner

Easily Monitor The Current Windows Process In A Delphi App With Flexible Component Suite


We have seen how to enumerate among the running processes and services in this blog post. How about monitor a particular process in your machine ? How to identify the list of threads, modules, handles associated to a particular process programmatically? Don’t know how to do. Don’t worry. MiTec’s System Information Management Suite’s component helps to do that effectively and we will learn how to use the thread TSysProcMonThread to demonstrate the process monitoring.

Platforms: Windows.

Installation Steps:  

You can easily install this Component Suite from GetIt Package Manager. The steps are as follows.

  1. Navigate In RAD Studio IDE->Tools->GetIt Package Manager->select Components in Categories->Components->Trail -MiTec system Information Component Suite 14.3 and click Install Button.
  2. Read the license and Click Agree All. An Information dialog saying ‘Requires a restart of RAD studio at the end of the process. Do you want to proceed? click yes and continue.
  3. It will download the plugin and installs it. Once installed Click Restart now.

How to run the Demo app: 

  • Navigate to the System Information Management Suite trails setup, Demos folder which is installed during Get It installation e.g) C:UsersDocumentsEmbarcaderoStudio21.0CatalogRepositoryMiTeC-14.3DemosDelphi18
  • Open the PM  project in RAD studio 10.4.1 compile and Run the application.
  • This Demo App shows how to list down the running processes and its threads, handles, modules association for the selected process.

Components used in MSIC PM Demo App:

  • TSysProcMonThread: Monitors system and provides running processes, CPU, memory and disk monitoring and provides system information.
  • TListView for viewing running Process list.
  • TPanel to show the Threads, Modules, Handles list information in a separate tab sheets for the selected process.

Implementation Details:

  • An instance FSPM of TSysProcMonThread were created. And in regular interval of the thread, Process list refreshed and updated to the screen using the OnInterval Event handler. On each interval, the Process List is refreshed using RefreshProcList.
  • On each interval, ThreadList, Modules List, Handles List is refreshed using procedures RefreshThreadList, RefreshModList, RefreshHandleList if a particular process is monitored.
MiTeC Process Monitor Demo

By this way you can monitor any process in your application effectively. Use this MiTeC component suite and get the job done quickly.

Head over and check out the full MiTec System Information Management Suite for Access System Information for Windows in Delphi Applications

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Get some love as Delphi turns 26
Related posts
C++DelphiNewsRAD Studio

RAD Studio 10.4.2 Silent Installer Makes It Easy To Automate The Installation Process


Create Native And Secure iOS Wallet Enabled Apps With Delphi And C++ Builder


GameDev: Fun Multi-Platform Mars Rocket Game For Android, iOS, macOS, And Windows


Exciting Crossword Puzzle Android App Is Made In Delphi

1 Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.