Will Rothwell
May 11th, 1999, 10:54 AM
Hi,
My application needs to scan all network mapped drives continuously (every 5 seconds) to see if they are accessible and if any new drive or share is added since last scan. Is there any way to do that without causing network timeout (can be up to 1 or 2 minutes), otherwise my app will appear to have died (hung).
One of the reasons for this requirement is that my app. will load some configuration files, from networked drives, before startup. Therefore I can't afford to try to open each of these files in turn, and to wait, to see if they are accessible.
If any solution works on Window95/98 then it is a bonus, but I'll be a happy man if it is possible at all under NT alone. Can any one help please.
Thanks in advance.
Will
My application needs to scan all network mapped drives continuously (every 5 seconds) to see if they are accessible and if any new drive or share is added since last scan. Is there any way to do that without causing network timeout (can be up to 1 or 2 minutes), otherwise my app will appear to have died (hung).
One of the reasons for this requirement is that my app. will load some configuration files, from networked drives, before startup. Therefore I can't afford to try to open each of these files in turn, and to wait, to see if they are accessible.
If any solution works on Window95/98 then it is a bonus, but I'll be a happy man if it is possible at all under NT alone. Can any one help please.
Thanks in advance.
Will