Click here to Skip to main content
15,887,477 members

Comments by androgenic_human (Top 1 by date)

androgenic_human 26-Jun-12 13:08pm View    
This is a 32-bit application trying to get the path of a 64-bit application on the same machine. It is difficult to know what the process is that the calling code is getting as it is the user's choice and could be any running application. I'm getting the PID from the user32.dll via GetWindowThreadProcessID(IntPtr handle, out uint processId) then trying to find my way to the full path from the PID. I definitely need a better way to do this.
Greg