Hi all,
I am very much new to PureBasic, and I was scanning through this forum to find a solution to my problem but didn't find anything appropriate.
How can I get the names (Window ID) of all running programs into a list?
I am currently using PB 4.0 on a Windows XP system and there doesn't seem to be a command or function that does the job.
Greetings Mike
How do I get a list of all running programs (WIN) tasks?
How do I get a list of all running programs (WIN) tasks?
Greetings to all the folks back home in the States...
PB4.2 Windows XP SP3
PB4.2 Windows XP SP3
You will need to use the EnumProcesses Windows API function.
Here is a link to MSDN:
http://msdn.microsoft.com/library/defau ... cesses.asp
There are some samples on purearea.net
http://www.purearea.net/
Here is a link to MSDN:
http://msdn.microsoft.com/library/defau ... cesses.asp
There are some samples on purearea.net
http://www.purearea.net/
-jb