Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to see if file can be used exclusive w/o causing err
Message
 
À
15/08/2000 13:06:05
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00405024
Message ID:
00405074
Vues:
19
>Delete ?
>
handle=fcreate(lcFile)
Cetin

Actually my method is the FOPEN()/FCLOSE() pair, not FLOCK() - kind of similar, though.
nTry = FOPEN(cFile)
if nTry >= 0
  =FCLOSE(nTry)
  USE (cFile) in 0 EXCL
else
  * forget it
endif
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform