Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with flock()
Message
 
 
À
16/02/2005 10:48:57
Brian O'Donovan
Crescent Computers
Cork, Irlande
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00987457
Message ID:
00987464
Vues:
26
>Im having problems trying to find out if I can open a file exclusively or not.I set exclusive off and open the file. Then I use flock() to see if it returns .t.. It does but when I use the command "use orders excl" in order to pack the file, I get a file access denied error. Where am I going wrong please ?
>
TRY
  use orders excl
CATCH
ENDTRY

IF USED("orders")
  * Opened Exclusive -  do whatever
ELSE
ENDIF
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform