Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- SIx Driver RDD v3.00 - Reference Guide - <b>why can't i lock more than 20 records at a time?:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Why can't I lock more than 20 records at a time?:

  You probably won't experience this problem if you are locking records on a
  network drive.  However, on a local hard drive, with SHARE.EXE loaded, you
  may notice that Sx_IsLocked() starts returning FALSE after the 20th record
  has been locked with Sx_RLock().  The answer to this problem is simple.

  By default, SHARE.EXE allows up to 20 files to be locked at one time.
  Apparently, SHARE also counts record locks in the same way that it counts
  file locks.  If you load share using the /l switch, you can set it for the
  desired amount of record locks that you need.

  For example, the following line, when executed at the DOS prompt, would
  allow you to lock up to 50 records on a local hard drive:

    SHARE /l:50



See Also: Sx_RLock() Sx_IsLocked() Sx_GetLocks()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson