Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Thread Tools Display Modes
Old 07-03-2001, 09:30 PM
davidj davidj is offline
Senior Member
Join Date: Jan 2001
Posts: 2,900
Default How do I get the name of the applications that are open ?

I would like to retrieve the names of all applications open by using code. Can this be done ? thanks
Reply With Quote
Old 07-04-2001, 04:11 AM
aldyn aldyn is offline
Junior Member
Join Date: Oct 2001
Posts: 1
Default RE: How do I get the name of the applications that are open ?

If you mean the list of all processes in the system then you will need to use:
- For Windows NT/2000 - psapi.dll or performance API. The first one is much more simple
- For Windows 9x/ME - you will need to use the ToolHelp API.
If you need a simple procedure like "GetProcessList" then you could try to use the SvCom library - it contains exactly this procedure which returns the list of all running processes in a simple StringList.

Alexey Dynnikov
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT. The time now is 03:23 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.