How to identify two same process ?

Started by
2 comments, last by marius1930 14 years, 10 months ago
Hi, I have a question to ask you. If I open two programs, the program's name is same, so there are two same process. FindWindow can get one of them, if I don't close one, FindWindow can't find another. So How can I get another when I don't close them?
Advertisement
The idea is to use something unique that can identify a process. Like a process id.

This article can help: Link and this one: Link
Take a look at CreateToolHelp32Snapshot(), it should be exactly what you need.
EnumWindows()

This topic is closed to new replies.

Advertisement