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