end process

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I have a windows program (C#) and I need to end a process from my
application. This shold work equal to when you open the Windows Task Manager
and right klick on a process and choose "end process". Any ideas?

Thanks
Julia
 
Hello, Julia!

J> I have a windows program (C#) and I need to end a process from my
J> application. This shold work equal to when you open the Windows Task
J> Manager and right klick on a process and choose "end process". Any
J> ideas?

If you want to terminate another process from yours, take a look at
TerminateProcess Win32 function. To use it you'll have to do P/Invoke.

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
Back
Top