I want to terminate a process (a running exe file) if a particular window is open (namely a disassembler named Olly).
I have had no luck.
I tried FindWindow and that works, but it seems like I cannot terminate the program using the window handle that is returned.
Anybody figure out how to do this?
Thanks!
Trope
I have had no luck.
I tried FindWindow and that works, but it seems like I cannot terminate the program using the window handle that is returned.
Anybody figure out how to do this?
Thanks!
Trope