Hey Dave: How can you use a component and you don't know how it's works, that's strange? Anyway, can you give us the name of that components, please?
Claudiu ----- Original Message ----- From: David Smith To: [email protected] Sent: Saturday, February 28, 2009 8:54 PM Subject: Re: [delphi-en] Process run check There are free components for Delphi that can handle the chore. I use one and don't even know how it works ///:-). dave --- On Sat, 2/28/09, mauro russo <[email protected]> wrote: From: mauro russo <[email protected]> Subject: [delphi-en] Process run check To: "delphi-en" <[email protected]> Date: Saturday, February 28, 2009, 10:17 AM Dear, how to check if an .exe is in execution? In practice I would like to be sure that, if a my application A1 faults and is closed, it is automatically restarted. I thought to use a secondary very simple deamon application A2 which checks if A1 is in execution and, if not, launches it by ShelExecute. Moreover A1 does the same with A2. Really I would like to use a S.O. resource to make A1 and A2 periodically "speaking" each other. So, if A1 is running, but hanging, A2 can choose to Terminate it and restart it. I believe there is some simplier way to obtain my goal, but I am not expert about windows API. Some help? Regards, Mauro. ---------- Questa email รจ stata verificata dal sistema centralizzato antivirus della UniPlan Software [Non-text portions of this message have been removed] ------------------------------------ ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [email protected]! Groups Links [Non-text portions of this message have been removed] __________ Information from ESET NOD32 Antivirus, version of virus signature database 3895 (20090227) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com [Non-text portions of this message have been removed]

