Process Launched with CreateProcess() May Terminate PrematurelyLast reviewed: February 24, 1998Article ID: Q156484 |
The information in this article applies to:
SYMPTOMSCmd.exe, Perl.exe, or other console-mode applications may fail to initialize properly and terminate prematurely when launched by a service using the CreateProcess() or CreateProcessAsUser() APIs. The calling process has no way of knowing that the launched console-mode application has terminated prematurely. In some instances, calling GetExitCode() against the failed process indicates the following exit code:
128L ERROR_WAIT_NO_CHILDREN - There are no child processes to wait for. MORE INFORMATION
RESOLUTIONTo resolve this problem, please see the following articles in the Microsoft Knowledge Base for more information:
ARTICLE-ID: Q142676 TITLE : Overcoming User32.dll Initialization Failure Errors ARTICLE-ID: Q175687 TITLE : Win32k.sys Causes STOP 0x0000001e and 0x0000000a On SMP Keywords : nt32ap ntconfig NTSrvWkst kbenv kbinterop Version : WinNT:4.0 Platform : winnt Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |