Get Running Application Process List In Delphi Firemonkey On Windows And OSX

Delphi Firemonkey Process List Win32 OSXDeveloper Mehmed Ali Caliskan from Turkey has a blog post up where he demonstrates how to get a process list of running applications with Delphi Firemonkey on Win32 and Mac OSX. His code is from an earlier version of Delphi but it should convert forward to XE6 without many changes. He created a custom class to place his functions in called TPlatformExtensions. The two procedures demonstrated in the blog post are called GetRunningAplications() and there is one for Windows and one for Mac. They fill a TStringList with a list of the running applications on the machine. The source code is available for free on Google Code and includes the utility function units and a demo application demonstrating their usage. Other functions contained within the utility class are GetSystemFonts, GetTextMetrics, and ShellOpen. The font functions allow you to list the fonts on the system and then get various text size metrics about each font. The code is in Object Pascal so it will probably work in AppMethod as well but obviously it is not for IOS or Android.

Check out the full blog post with complete explanation for getting the process list on both platforms.

Or check out the source code for the TPlatformExtensions class on Google Code.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

One Response to Get Running Application Process List In Delphi Firemonkey On Windows And OSX

  1. angelo cutolo says:

    Links broken?

Leave a Reply

Show Buttons
Hide Buttons
Read previous post:
Customize The Classes.dex File To Access Third Party Android JAR Libraries In Delphi XE6 Firemonkey

Jim McKeeth from Embarcadero has a new blog post up which demonstrates how to customize your classes.dex Android SDK ship...