home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10739 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.0 KB

  1. Path: sparky!uunet!mcsun!uknet!bradford.ac.uk!M.E.Bullivant
  2. From: M.E.Bullivant@bradford.ac.uk (Martin Bullivant)
  3. Newsgroups: comp.os.msdos.programmer
  4. Subject: Disable CTRL+BREAK from a TP6 program
  5. Message-ID: <1992Nov18.141829.813@bradford.ac.uk>
  6. Date: 18 Nov 92 14:18:29 GMT
  7. Organization: University of Bradford, UK
  8. Lines: 20
  9. Originator: 89067960@ccw311
  10. Nntp-Posting-Host: ccw311
  11. X-Newsreader: TIN [version 1.1 PL6]
  12.  
  13. Peeps,
  14.  
  15. I am writing a TP6 program which requires the CTRL+BREAK sequence to be
  16. disabled, as it loads in data tables and manipulates them in real time.
  17. If CTRL+BREAK is pressed then the program bombs out and leaves the tables
  18. in a real mess.
  19.  
  20. I've tried adding the line SetCBreak(FALSE) to the start of the main loop,
  21. and indeed the status is changed, but I can still Break out of the program.
  22.  
  23. Can someone please help me before I pull my hair out?
  24.  
  25. Cheers,
  26.  
  27. Martin Bullivant (M.E.Bullivant@uk.ac.bradford)
  28.  
  29. -- 
  30. The victors invariably write the history to their own advantage.
  31.     -- Picard, "Contagion", stardate 42609.1 
  32.