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

Last reviewed: February 16, 1998
Article ID: Q180457
The information in this article applies to:
  • Microsoft Embedded SQL for C Programmer's Toolkit, version 4.22

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. 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 : kbbug6.50 ssrvesql_c
Version : Windows:6.5
Platform : WINDOWS
Issue type : kbbug
Solution Type : kbpending


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 16, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.