Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking problem in 8
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00748662
Message ID:
00748671
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform