Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking problem in 8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00748662
Message ID:
00748671
Vues:
20
>Hi--
>
>I ran into a locking problem in 8 today.
>
>Go to one computer on a network, use a file, and flock() it.
>
>Go to another computer, and attempt to USE the same file.
>
>The USE statement waits on a lock, and if error trapping is enabled, 108 File In Use by Another is issued.
>
>Does anyone know if Microsoft is aware of it, and is there a workaround? Are there perhaps some new "features" in FLOCK or USE?
>
>Thanks,
>
Dennis,

In addition to what BOb said, be aware that FLOCK() locks the header (in all versions). In contrast, RLOCK() only locks the current record. VFP needs the information in the header to properly process the table.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform