Terminating a certain program/process by it's title
Posted on 1997-10-30
I have written a program wich shuts down a win95 pc
using delphi. i use the function exitwindowsex
i do a forced shutdown (no questions) just shutdown.
but when i do this i get an GPF when a certain program is active, 'it is a client program from take control of that pc' and now for the question.
i want to 'terminate' this program, before the ExitWindowsEx
in only know it's title "PC-Duo Client". when i do a CTRL-ALT-DEL and then terminate that task everything works fine.
Thanx in advance,