PRB: CreateProcess() of Windows-Based Application Fails (127860)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 3.5
This article was previously published under Q127860 SYMPTOMS
When you spawn a 16-bit Windows-based application using CreateProcess()
where neither lpApplicationName and lpCommandLine are NULL, WOW gives a
popup saying:
Cannot find file (or one of its components). Check to ensure the path
and filename are correct and that all required libraries are available.
CAUSE
NTVDM expects the first token in the command line (lpCommandLine) to be the
program name, although the Win32 subsystem does not. The current design
will not be changed.
RESOLUTION
Make lpApplicationName NULL and put the full command line in lpCommandLine.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/30/2003 |
---|
Keywords: | kbprb KB127860 |
---|
|