home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!bradford.ac.uk!M.E.Bullivant
- From: M.E.Bullivant@bradford.ac.uk (Martin Bullivant)
- Newsgroups: comp.os.msdos.programmer
- Subject: Disable CTRL+BREAK from a TP6 program
- Message-ID: <1992Nov18.141829.813@bradford.ac.uk>
- Date: 18 Nov 92 14:18:29 GMT
- Organization: University of Bradford, UK
- Lines: 20
- Originator: 89067960@ccw311
- Nntp-Posting-Host: ccw311
- X-Newsreader: TIN [version 1.1 PL6]
-
- Peeps,
-
- I am writing a TP6 program which requires the CTRL+BREAK sequence to be
- disabled, as it loads in data tables and manipulates them in real time.
- If CTRL+BREAK is pressed then the program bombs out and leaves the tables
- in a real mess.
-
- I've tried adding the line SetCBreak(FALSE) to the start of the main loop,
- and indeed the status is changed, but I can still Break out of the program.
-
- Can someone please help me before I pull my hair out?
-
- Cheers,
-
- Martin Bullivant (M.E.Bullivant@uk.ac.bradford)
-
- --
- The victors invariably write the history to their own advantage.
- -- Picard, "Contagion", stardate 42609.1
-