Myself, I would implement a simple periodic broadcast over the network to poll a response from all running sessions. Each running program would set up a listening socket to listen for the broadcast, then respond to the originating program. I have never had a need for this type of application so exact implementation I couldn't give without setting down and designing it, but that would be my starting premise.
ed -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 2:43 PM To: [email protected] Subject: [delphi-en] How many instances of EXE running on Windows network? Happy New Year! Delphi 5 Windows local area network. How do I determine if any other instances of my EXE are running on the network? Each is started from the same common folder. My program already manages a "session table". But sometime my program fails and exits abnormally, so the session table entry does not get deleted. I wish for a routine that would poll or otherwise determine somehow "in real time" if there are truly active instances of the same EXE alive on the network. Not sure which set of windows API calls I should be looking at. Many thanks in advance. ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.17.13/1207 - Release Date: 1/2/2008 11:29 AM

