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

Efficient Way To Build Your Own Windows Process Viewer In Delphi With Excellent Component Suite

processviewerfimage

Sometimes Developers want to list down or identify the process running in a machine programmatically. How to enumerate among the running processes and services quickly ? 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 threads TSysProcMonThread and TSvcListMonThread to demonstrate the processes and services respectively.

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.3DemosDelphi6
  • Open the PV project in RAD studio 10.4.1 compile and Run the application.
  • This Demo App shows how to list down the running Process and Services in your machine, enumerate among them and access its properties.

Components used in MSIC PV Demo App:

  • TSysProcMonThread: Monitors system and provides running processes, CPU, memory and disk monitoring and provides system information.
  • TSvcListMonThread: Monitors installed services and drivers in real-time and provides their properties.
  • 2 TTabsheet’s one for viewing Process list in TListView and other for viewing Services in TListView .
  • TButton to view the details of the process or service accordingly in a new child form.

Implementation Details:

  • An instance SPM of TSysProcMonThread and SLM of TSvcListMonThread were created. And in regular interval of each thread the Process list and service list is refreshed and updated to the screen using the OnInterval Event handlers
  • On each interval, the Process List( using TProcessRecord ) and Service List (using TServiceRecord) is added to the list view by clearing the existing list.
  • Upon Clicking Details for the selected process in the list a new child form is created and data is added to different tab sheets.
processdetails-7450443
MiTeC PV -Process Details Demo

Upon Clicking Details for the selected Service in the list a new child form is created and data is added to different tab sheets.

servicesdetaials-5503588
MiTeC PV -Services Details Demo
  • Apart from these stopping , starting, pause and resuming the services were implemented in the sample.

It’s that simple to enumerate Process List and Service List running in your machine and view the details of the process. 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++DelphiRAD Studio

Advanced Debugging And Application Logging System For Windows Developers

C++DelphiTech Partner

Quickly Create Fast Peer-To-Peer Communication Between Windows Processes

DelphiShowcase

Powerful Torque Tool Controller Is Developed In Delphi

DelphiShowcase

Useful System of Student Registration, Study, and Exams Developed In Delphi

Leave a Reply

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

IN THE ARTICLES