title: Get active processname in vc++
body: <p>Am working on a background appliation in vc++</p>
  
  <p>How can i get the Process Name of the current Application for example "Iexplore" for Using Internet Explorer, "Skype" for window with tile "Skype - username", "Explorer" for using windows explorer ?</p>
  
  <p>i referred this link but am getting Null error :        <a href="http://www.codeproject.com/Articles/14843/Finding-module-name-from-the-window-handle" rel="nofollow">http://www.codeproject.com/Articles/14843/Finding-module-name-from-the-window-handle</a></p>