>Is there a difference of locking between a Visual Fox Pro application and a
>Five Win clipper converted application ? Cause I'm trying to RLock() the same record with my Fox app and I can lock it even if it's lock in the Five Win app. But if I try to lock it with a Clipper app, I can't lock the record open with Five win. Any Idea ???
>
>Thanks
Marc,
AFAIK, Five-Win is a windows library that helps in the migration of Clipper applications to the Windows GUI environment. It still uses the underlying Clipper concepts for record locking. Since I don't know how Clipper did this, I can't help with that.
However, I can tell you how VFP does it (I think).
VFP (and FP before it) "locks" a virtual address. The virtual address is calculated using the actual physical location (hard drive sector, etc.). A request to lock this new address is processed by the file server. If the virtual address can be locked, VFP knows that the actual address has not been locked (at least by applications that use the same algorithm) and it goes along happily.
You might try getting on one of the CA forums and see if anyone knows the technical specs behind the Clipper locking mechanism. You can try
http://www.cavo.com/support/newsgroups. This will get you to the CA-VisualObjects forums and since that was CA-Clipper, it might help.
Good luck!
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao