Paradox Community

Items in pnews.public.bde

Subject:DbiSetLockRetry - Might help resolve Lock Timeouts
Date:Wed, 2 Jun 2021 22:08:45 +1000
From:Leslie <"ViaThe List"@NOSPAM.com>
Newsgroups:pnews.public.bde
I think I may have posted this info some years ago but I cant search it.
Anyways, I just came cross it again and thought it would be good to 
place it here for anyone that needs the info....

In the old days I am pretty sure the timeout to retry to get a lock was 
about 3 seconds but at some point that changed and even though the BDE 
help file says it is 5 seconds by default, it is in fact wrong and there 
is no retry attempted.

So you can force the retry count by calling dbiSetLockRetry(5) which is 
for the current BDE session. I am unsure if Opal has an equivalent function.

Here is a discussion, I am sure there were more but it looks like the 
internet is getting cleaned over time: 
http://www.delphigroups.info/2/fb/343380.html





-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


Copyright © 2004 thedbcommunity.com