home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!warwick!mrccrc!ifenton
- From: ifenton@crc.ac.uk (I. Fenton)
- Newsgroups: comp.databases
- Subject: Re: Clipper 5.01 left over locks
- Message-ID: <1992Nov8.170325.14400@crc.ac.uk>
- Date: 8 Nov 92 17:03:25 GMT
- References: <paulb.721055967@cs.man.ac.uk>
- Sender: news@crc.ac.uk
- Organization: MRC Human Genome Resource Centre
- Lines: 48
- Nntp-Posting-Host: tin
-
- In article <paulb.721055967@cs.man.ac.uk> paulb@cs.man.ac.uk (Paul Bean) writes:
- >I have a program which is to run on both a network and single user. I
- >use the locks.prg supplied with clipper to do the appropriate locking
- >for me. I have one version so I do the locking even if it is on a
- >single user dos machine. I was running it single user yesterday (Dos
- >5.01 by the way) when it keeled over with not enough memory. I
- >removed a couple of drivers so that there was enough memory for it to
- >run and went in again, however when the program came to open the dbfs
- >that were exclusively locked when it went down it could not
- >open them(in shared mode). I presumed that the lock information was
- >held in the dbfs so I deleted these and went to a backup. However
- >when I tried to run the program it still wouldn't let me open the
- >previously locked files. I tried moving everything to a new
- >directory,still no joy. I have tried ringing Computer Associates who
- >could not suggest anything. Does anyone know where the lock
- >information is held ? and how I can get rid of it. This is becoming a
- >real pain.
- >
- >Thanks in advance Paul
-
- no, no, no ! teh locking information is held in the program code. when
- you leave the program and go back to dos all locking info is forgotten,
- until you re-run the exe. are you absolutely 100% sure that it had got
- past those locks the first time ? i would bet vasts sums of money that
- locking info is not remembered anywhere. anyway, if there are incorrect
- locks then it is a fault of the logic of the code. sorry. i write
- network apps in clipper, btw, but not with 'locks.prg' as supplied, so
- i dunno if that is making matters better or worse. if it works on your
- local net, copy the .exe file onto your home machine and try again.
-
- btw, what is dos5.01 ?! i thought dos was stuck at v5.0 ?!
-
- good luck ...
-
- =============================================================================
- IAIN FENTON | All errors of spelling, grammar &
- Institute of Medical Genetics | fact are due to a missing <Del> key
- University of Wales College of Medicine |====================================
- Heath Park | "No man should marry until he has
- Cardiff CF4 4XN | studied anatomy and dissected at
- U.K. | least one woman" - de Balzac
- =============================================================================
- Voice = +44 - 222 - 744049 | In 1912, Jack Johnson, the first black world
- Fax = +44 - 222 - 747603 | heavyweight boxing champion, was refused
- Email = fenton@uk.ac.cardiff | permission to board the Titanic because of
- (or) wmgif@uk.ac.cardiff | his colour.
- (or) ifenton@uk.ac.crc |
- =============================================================================
-