Board index » delphi » PDox table locking problem, or disk cache?

PDox table locking problem, or disk cache?

I have a multi-user app using D4 and PDox tables - under Win98 (at least)  I
lock a file from one pc, but second  pc does not "see" the lock.
Running the app twice on same pc (which also contains the shared data dir
and the .lck files etc), the second instance of the app "sees" the lock, and
gives me an Exception from the TTable.LockTable() as I expect, so I can give
the user a "busy..try later" message.
Help!
Is this a BDE issue, or local disk caching of some sort...where do I go from
here please?
Thanks
Chris ("Buzz")
 

Re:PDox table locking problem, or disk cache?


Quote
>I have a multi-user app using D4 and PDox tables - under Win98 (at least)  I
>lock a file from one pc, but second  pc does not "see" the lock.
>Running the app twice on same pc (which also contains the shared data dir
>and the .lck files etc), the second instance of the app "sees" the lock, and
>gives me an Exception from the TTable.LockTable() as I expect, so I can give
>the user a "busy..try later" message.
>Help!
>Is this a BDE issue, or local disk caching of some sort...where do I go from
>here please?

Make sure Local Share is set to True
That the network control directory setting uses the same Path on all
workstations and that you do not use a root directory for the location of the
network control file.

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads