qp.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SwapVectors Procedure
  Summary Details Example                                   Back
 
  Description
 
    The SwapVectors procedure swaps the contents of the interrupt
    vectors with values for interrupt vectors stored in system
    variables. SwapVectors takes no arguments.
 
    The System unit defines eighteen pointers used to save interrupt
    vectors. The pointers are named SaveIntnn, where nn is the
    interrupt number.
 
    Call the SwapVectors procedure before and after calling Exec. The
    first call prevents the child process from using any interrupt
    handlers installed by the parent process. The second call restores
    the interrupt vectors for the handlers.