Err Msg: "The Handle is Invalid" with Console ApplicationsLast reviewed: May 15, 1997Article ID: Q113941 |
The information in this article applies to:
SYMPTOMSSome console applications that spawn processes with handle inheritance do not work correctly. For example, the Mortice and Kerns MKS Toolkit Korn Shell fails when it attempts to pipe commands together with this statement:
ls | pgand dislays the error message:
The handle is invalid. CAUSEThis is a timing problem: the first process terminates before the second process can duplicate its handles.
RESOLUTIONCorrections were made to BASESRV.DLL, CSRSRV.DLL, and WINSRV.DLL to assure that console handles are duplicated properly.
STATUSMicrosoft has confirmed this to be a problem in Windows NT and Windows NT Advanced Server version 3.1. This problem has been corrected in the latest U.S. Service Pack for Windows NT and Windows NT Advanced Server version 3.1. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):
S E R V P A C K |
Additional query words: prodnt
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |