Article ID: 189579 - View products that this article applies to.
This article was previously published under Q189579
This article has been archived. It is offered "as is" and will no longer be updated.
The F11 and F12 function keys do not work or generate extended characters in MS-DOS applications running under Windows NT.
A program compiled or built using the 32-bit compiler is able to read all the function keys and to return the right values of the scan codes. When compiled or built using the 16-bit compiler, the same program returns the right values for the function keys F1 through F10, but does not return anything for F11 and F12.
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/152734/EN-US/ )How to Obtain the Latest Windows NT 4.0 Service Pack
Microsoft has confirmed that this is a problem in Windows NT 4.0 and Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4.
To read extended characters from an application, two consecutive calls to GETCH() are required:
Article ID: 189579 - Last Review: October 9, 2013 - Revision: 1.2