home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / 7699 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  3.2 KB

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