Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jun : Ending a program that is frozen (like end task)

www.cryer.info
Managed Newsgroup Archive

Ending a program that is frozen (like end task)

Subject:Ending a program that is frozen (like end task)
Posted by:"Stephan St-Denis" (stepha..@progicielsconcept.com)
Date:Wed, 21 Jun 2006 15:10:46

Hi,

I wrote a small delphi program to verify once in a while if another program
is running. When the program I monitor freezes, I'd like my small program to
be able to "End" the frozen task (like in task manager). And better than
that, I would like to be able to restart the program thereafter. Is there a
way to do this ?

Remember, the frozen application cannot respond to WM_CLOSE messages.

Any help would be greatly appreciated.

Regards,

Stephan St-Denis

Replies:

www.cryer.info
Managed Newsgroup Archive