BUG: Causes of Nsqlprep.exe Err. "Couldn't Spawn Compiler. <2>"

ID: Q180457

The information in this article applies to:

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:

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. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words: ESQL PREPROCESSOR NSQLPREP

Keywords          : SSrvESQL_C kbbug6.50 
Version           : Windows:6.5
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbpending

Last Reviewed: February 18, 1998