-
Mar 20th, 2006, 03:19 PM
#1
Thread Starter
Addicted Member
Get window title from PID
Hi all,
I'm writing a program for a friend and I need it to get a list of running processes (Which I heard can be done with EnumWindows, although I can't get it to work. I guess I have to include it as a component, although I don't know which one. I saw a declaration for it but it says that I can't declare it for various reasons),
and then get the PID from the title. Basically because every time the application is launched the PID is different, so I need to be able to grab it from the only thing that stays constant, the name of the process,
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|