Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Terminating a process - newbie help 1

Status
Not open for further replies.

Trope

Programmer
May 14, 2001
110
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top