Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!uunet!lll-winken!xanth!cs.odu.edu!epperly From: epperly@cs.odu.edu (William "Badger" Epperly) Newsgroups: comp.binaries.ibm.pc.d Subject: INT 19h Summary: trying to disable ctl-alt-del Keywords: INT 19h Message-ID: <1991Jun26.161654.5835@cs.odu.edu> Date: 26 Jun 91 16:16:54 GMT References: <1991Jun22.023415.12914@odin.corp.sgi.com> Sender: news@cs.odu.edu (News File Owner) Distribution: na Organization: Old Dominion University, Norfolk, VA Lines: 22 Nntp-Posting-Host: osric.cs.odu.edu Problem: I am writing a small program which I do not want the user to be able to kill with a warm boot command. I am writing on a 386sx machine using Turbo C++'s ansi C compiler. I have used the routine getvect(0x19) to get the address of the original routine which I save in a properlly declared variable. I then use setvect(0x19,) to set the new routines address in the interrupt vector table. I have then issued another call to getvect(0x19) to see if the value in the interrupt vector table has been changed. It was changed. The problem is that when ctl-alt-del is entered by the user, the machine performs a warm boot anyway. My Question is, what am I not doing or doing wrong. BTW, I have turned of the "check stack overflow" box for the compiler and my code is executable. Please mail your responses to epperly@cs.odu.edu and I will post a summary. Thanks in advance for your help.