Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use file exclusive question
Message
De
22/07/1999 11:12:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/07/1999 10:38:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00244710
Message ID:
00244742
Vues:
22
>What is the proper way to tell if someone else is already using a table? See if you can do an flock()? A "use filename exclusive" and check for an error?
>
>Thanks
It might be "you" too :) They're usable ways. Also :
handle=fopen(lcTable)
if handle < 0
* Check ferror() really because the cause
* might be something else - ie:wrong path
? "In use"
else
=fclose(handle)
endif
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform