|
-
May 6th, 2009, 02:25 PM
#1
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
-
May 6th, 2009, 02:37 PM
#2
Re: Detecting another process
 Originally Posted by ninja9578
...I know very little about the Windows API...
This isn't the right forum for this sort of question.
 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.
-
May 6th, 2009, 02:38 PM
#3
Re: Detecting another process
look up
CreateToolhelp32Snapshot
Process32First
Process32Next
CloseHandle
preferably on msdn
0100 0111 0110 1111 0110 0100 0010 0000 0110 1001 0111 0011 0010 0000 0110 0110 0110 1111 0111 0010
0110 0101 0111 0110 0110 0101 0111 0010 0010 0001 0010 0001 0000 0000 0000 0000 0000 0000 0000 0000
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|