Ok my problem is that I need a function to find out the process id from a given process name.
e.g.: I want to get the pid for explorer.exe, then the function should give me the pid 1156.
Can anyone help me with an understandable code example.
Thank you for every help,