Detecting another process
How would I go about determining if another process (specifically Fiddler.exe) is running? I know very little about the Windows API as a Mac programmer, but I need the Windows version of my app to detect whether or not Fiddler is running and alter my curl options to send it through
Re: Detecting another process
Quote:
Originally Posted by
ninja9578
...I know very little about the Windows API...
This isn't the right forum for this sort of question.
Quote:
Originally Posted by
ninja9578
How would I go about determining if another process (specifically Fiddler.exe) is running?
Assuming that you're targeting a reasonably modern OS (i.e., Win2k+), take a system snapshot with CreateToolhelp32Snapshot and walk through it with Process32[First/Next] looking for your target name.
Re: Detecting another process
look up
CreateToolhelp32Snapshot
Process32First
Process32Next
CloseHandle
preferably on msdn