Application cannot start new process Error: 0xc0000142 #18874
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Attention
The core contributors need to come back around and look at this ASAP.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Product-Conhost
For issues in the Console codebase
Windows Terminal version
1.22.11141.0
Windows build number
10.0.22631.5262
Other Software
ingres 10, compiled with Viscual C++ 2010
Steps to reproduce
Using database 4GL software (ingres 10), which works perfect in old cmd windows with legacy mode. Without legacy mode, I have the problem, if the software try to start a new process with CreateProcess() it fails, error message:
cmd.exe - Application Error The application was unable to start correctly (0xc0000142). Click OK to close the application.
Sytemcalls with system() inside the 4GL code works.
Exact the same problem with windows terminal 1.22.11141.0 and with preview 1.23.11132.0
I make a small test C program, compiled with VC 2010, using nearly the same code, as inside the ingres application (CreateProcess...) works without problems.
Expected Behavior
no error message and starting the process like cmd with legacy mode
Actual Behavior
error message:
cmd.exe - Application Error The application was unable to start correctly (0xc0000142). Click OK to close the application.
The text was updated successfully, but these errors were encountered: