BUG: Windows 95 Access Violation Error After Disabling CTRL+CLast reviewed: March 11, 1997Article ID: Q137379 |
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API) included with: - Microsoft Windows 95
SYMPTOMSIn a Win32 environment, a console application can be terminated by pressing CTRL+C. To disable CTRL+C input, a console application can call the SetConsoleCtrlHandler(NULL, TRUE) API function. When this API function is called in Windows NT, CTRL+C is ignored if pressed. However, when it is called in Windows 95, pressing CTRL+C generates an Access Violation error. Similarly, when this API is called in Windows 95, pressing CTRL+BREAK generates an Access Violation error.
RESOLUTIONThere are two alternatives when you want to disable CTRL+C and avoid generating an Access Violation error:
STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. |
Keywords : BseCon kbprg kbbuglist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |