Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOPEN() fail faster?
Message
De
20/09/2007 13:47:31
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01255774
Message ID:
01255792
Vues:
23
>>>>>>If I issue FOPEN("somefile",1) - write only, unbuffered - it waits a long time - because the file was deliberately opened by me earlier. Is there a way to make it fail faster?
>>>>>
>>>>>What's your OS?
>>>>
>>>>Windows XP or Windows 2000
>>>
>>>Is file on network share or local?
>>
>>During dev it's local. In production it will be on network share accessed by UNC.
>
>It fails immideatelly on local file for me (WinXPSP2Pro).

Same OS WinXPSP2Pro. I've got SQLServer 2005 doing a BACKUP to a file. I'm checking it with a timer using FOPEN to see if I can open the file. It's taking at least 5 seconds before the FOPEN goes on to the next line in the debugger.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform