Forget about Windows API being any use. The safest idea would be to use an
IP Ping - if you have IP.  If not then your probably stuffed.

Cheers






"Siegfried Kirchmair" <[EMAIL PROTECTED]> on 12/12/98 19:04:46

Please respond to [EMAIL PROTECTED]

To:   Multiple recipients of list delphi <[EMAIL PROTECTED]>
cc:    (bcc: Peter Jones/Logistics&Information
      Technology/Christchurch/Foodstuffs)
Subject:  [DUG]:  network




Hi,

How can I check if another machine is up except by using file system
e.g. fileexists('\\other_machine\drive\...).
The problem being that by checking on a file on the network the
program seems to wait for the timeout if the other_machine is down
and my program seems to hang.
I need to check this before the bde tries to access a paradox table
on the other machine as otherwise the bde hangs up.
Is there a kind of ping function?

thanks
 sigi
CACTUS Ltd., Nelson
Phone:03-5479383  Fax:03-5479329
E-Mail [EMAIL PROTECTED]
http://www.TheShop.co.nz
http://www.CharterGuide.co.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz






---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to