Skip to main content

How to prevent CTRL-C keyboard interrupt in 32bit app?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

How to prevent CTRL-C (CTRL BREAK) keyboard interrupt in 32bit applications?

Resolution:

According to the doc files (Help -> Help Topics -> Index):

X"B0" function 4

Disables keyboard interrupts (Ctrl Break).

Syntax:

call X"B0" using function-code

                 parameter

...

This routine disables keyboard interrupts for the rest of the application. It should be called before any subprograms are called.

Old KB# 4285