PRB: Syntax Errors When Precompiling ESQL for C

ID: Q156340


The information in this article applies to:
  • Microsoft SQL Server version 6.5


SYMPTOMS

You may receive syntax errors when you attempt to precompile an ESQL for C file.


CAUSE

Several changes were made to the Include files shipped with Visual C and Visual C++ 4.2, the most notable of which are in the Float.h and Winnt.h header files. The changes cause the precompile step of ESQL for C to generate syntax errors.

WORKAROUND

To work around this problem, separate out the ESQL code into SQL modules that do not need to include the Windows.h file or any of the other problem header files. This will also speed up precompiles.

Keywords : kbprg SSrvESQL_C
Version : 6.5
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: April 1, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.