|Subject:||Re: lockRecord() - doesn't
|Date:||Thu, 21 Jul 2022 12:49:14 +1000
|From:||Tom Krieg <tomkIGNORE@CAPSsdassociates.com.au>
WinXP and Win7 networking are different. Have a look for a mix of SMB
versions. Different networking protocol. Make sure it's all the same.
Are the tables on aserver? Or one machine using Paradox sharing with
others? BDE set up exactly the same? Local share = true on EVERY
machine? Are there Win10 or 11 machines on the network?
When you lock a record on one machine, can you move to that record on
another machine and lock it also?
On 21/07/2022 12:18 pm, Peter wrote:
> Exact, caps and all.
> Another experiment
> Opened same table on three machines. Interactively, modified table on
> one Machine and saw changes ripple to the other machines. Strange
> enough, changes on one machine (Laptop WinXP) caused the Win7 machine to
> refresh the table but the other machine (WinXP) would not refresh until
> I did enumlocks() or something to refresh the table manually.
> I would conclude the machines are talking to each other and the Pdox
> locking mechanism is working, sorta/kinda.
> On 07/20/2022 06:03 p.m., Tom Krieg wrote:
>> Do all machines point the BDE to the same IDAPI32.cfg file? It must be
>> the exact same path (the drive letter can be different but the path
>> must be the same).
>> On 21/07/2022 9:35 am, Peter wrote:
>>> Just ran some tests on a customer's system that uses Windows Server.
>>> Got the exact same results.
>>> It seems that enumlocks() will not report recordlocks (lockrecord() )
>>> placed on a different machine.
>>> On 07/20/2022 12:45 a.m., modridirkac wrote:
>>>> Did you set Local share to false, in BDE?
>>>> It should be TRUE.