BUG: Causes of Nsqlprep.exe Err. "Couldn't Spawn Compiler. <2>"
PSS ID Number: 180457
Article Last Modified on 10/15/2002
The information in this article applies to:
- Microsoft Embedded SQL for C Programmer's Toolkit 4.22
This article was previously published under Q180457
BUG#: 50049 (SHILOH)
SYMPTOMS
When Nsqlprep.exe is executed to process an .sqc file, you receive the
following error message:
Couldn't spawn compiler. <2>
CAUSE
The error can occur if either of the following situations is true:
- A C Compiler is not installed.
-or-
- Microsoft Visual C++ 5.0 is installed.
Note that this problem occurs with Microsoft Visual C++ 5.0 even though the
Embedded SQL documentation specifies that you should use the following
compiler versions for the operating systems listed below.
Operating system Compiler
--------------------------------------------------------
Windows NT Microsoft Visual C++ 2.0 or later
Windows 95 Microsoft Visual C++ 2.0 or later
Windows 3.1 Microsoft Visual C++ 1.52 or later
MS-DOS Microsoft Visual C++ 1.52 or later
WORKAROUND
To work around this problem, install and use Microsoft Visual C++ 4.2.
STATUS
Microsoft has confirmed this to be a problem in the Embedded SQL for C
Programmer's Toolkit version 4.22 documentation.
Additional query words: ESQL PREPROCESSOR NSQLPREP
Keywords: kbBug kbDSupport KB180457
Technology: kbAudDeveloper kbSQLeMCPTK422 kbSQLEmCPTKSearch kbSQLServSearch