title: Check whether one specific process is running on windows with C++
body: <p>Is there any function in psapi or windows.h to get desired process' is running via only the process name (e.g : "chrome.exe") without getting all processes. </p>
  
  <p>Edit:</p>
  
  <p>If any one requires to get the desired process information via running through the list of all processes I can paste my code here. it works on a xp-machine and compiled with vs 2008.</p>
  
  <p>I have found a solution for my question, too ! But according to the <a href="http://msdn.microsoft.com/en-us/library/z3w4xdc9.aspx" rel="nofollow">msdn</a> the function runs already through the processes and checks the name without the extension. Shortly it searchs for "chrome" and returns the list of chrome.*</p>
  
  <p>This function has a nice advantage it returns the process in a list, it might be an exe may run with may instances. Disadvantage CLR is required, it runs slower than the psapi functions and it has extra convertion requirements such as String^ to wchar or String (which I have not tested) </p>