Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AppmethodCode SnippetDelphiDemoFiremonkeyOSXWindows

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.

Related posts

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes


Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores


DelphiCon 2020 FireMonkey Sessions Available Starting November 19


Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

1 Comment

Leave a Reply