| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Disable Ctrl-Break |
Thursday July 04 1996 01:21, Tom Clarkson wrote to Peter Watney: PW>> In order to completely disable Ctrl-Break you have to change the copy PW>> of Command.Com that your application happens to be using at the PW>> time. The reason is that for a number of operations Pascal is using PW>> DOS, and DOS no way to disable Ctrl-Break (legally), so whenever your PW>> Pascal application loading, or is temporarily passing control to DOS, PW>> even though you have SetCBreak set to false DOS will intercept the key PW>> stroke and interpret it. TC> not quite as complex as changing command.com... you use TC> getintvec/setintvec, and make an interrupt procedure. when your program TC> starts, you take control away from dos, and give it back on exit. in real TC> mode it stuffs up if the program crashes, but in protected mode messy TC> interrupts don't matter. True, unless the problem relates, as mine did, to security from boot time to power down, in which case you need to prevent access to DOS by unauthorised people at any time. Regards, Peter --- GEcho 1.00* Origin: Pointing off InterACTive BBS 3:620/243 (3:620/243.71) SEEN-BY: 633/267 270 @PATH: 620/243 711/808 50/99 635/544 727 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.