RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EControlC Class

EControlC is the exception class for user interrupts.

Pascal
EControlC = class(EExternal);
C++
class EControlC : public EExternal;

SysUtils

EControlC is raised when the application is interrupted by the user.

Note: On Windows, a user interrupt can only occur in console applications, when the user presses Ctrl+C.
Note: On Linux, EControlC is raised when the program receives a TERM (15) signal. The TERM signal can be generated by the user typing the interrupt character (normally Ctrl+C) or by another program using the signal system call.
Run-time exception information is saved in fields provided by EExternal

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!