Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ending a process
#6
Use window handle instead of program name.

ShutDownProcess win("Notepad")

When using program name, ShutDownProcess should fail when trying to terminate a process running in other user session.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)