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
AndroidC++BuilderCode SnippetDelphiDemoFiremonkeyIOSOSXShowcaseWindows

Powerful Cross Platform Email App Sample In Delphi 10.4.1 FireMonkey For Android And IOS


Significant Update Available For Delphi FireMonkey 10.4.1 On Android, IOS, OSX, Windows, And Linux


Professional SVG Icon Image List For Delphi 10.4 FireMonkey On Windows


Top Tips And Tricks To Speed Up Development With Delphi 10.4 FireMonkey On Android and IOS

Sign up for our Newsletter and
stay informed

1 Comment

Leave a Reply