tags:

views:

148

answers:

2

As it stands I can pull the current list of processes into my Delphi application and the image name. I need to also find and pull in the file description. For example, I can do this:

Image name                           Description
myfile.exe              

i can't seem to do this:

Image name                           Description
myfile.exe                           cool text about my file

How can I pull in the description also?

A: 

I can pull the process names into my delphi application but i am unable to pull the description. If you go to task manager then process you will see description at the far right, i need to pull that also into my delphi program.

This is not an answer to your question.
Rob Kennedy
thanks for editing the question but sometimes i am unable to reply because it wont allow me to reply, i dont have a clue why not, thats why i use answer for
If its your own question, you should be able to comment on any of the posts.
Pauk
oh right, i didnt know that, thanks
+3  A: 
Pauk
ListOut should be a TStrings, and should be passed by value, not by reference. Please don't catch exceptions if you're not really going to handle them. Use a try-finally block to protect the buffer you allocate.
Rob Kennedy
You're a tough chap to please, I've tweaked accordingly. Is that any better?
Pauk
Also, I am grateful of your advise. Thanks!
Pauk
thanks mate, i am just getting in now booting delphi up so i will give it a go but right now i must have a cup of tea, i am english and we need our tea,
No problem... but a programmer drinking tea? It's unheard of! I thought coffee was our tipple of choice ;).
Pauk
@Paulk, I thought it was Jolt cola?
skamradt