Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Slow detection of absent UNC
Message
De
16/11/2007 12:32:47
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01269426
Message ID:
01269455
Vues:
22
>>>>When a built-in function like DIRECTORY(), FILE() or FCREATE() is passed a UNC-path that does not (no longer) exist, it takes a very long time to tell you that. Is there an API function that can tell this much quicker?
>>>
>>>Did you try it with drivetype? Though it may not work with UNC.
>>>
>>>http://www.berezniker.com/display/VFP/Enumerate+Available+Drives
>>
>>It indeed doesn't.
>
>I don't know then. You may also try CreateFile

Also slow here.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform