PRB: Syntax Errors When Precompiling ESQL for C
Article ID: 156340
Article Last Modified on 10/3/2003
APPLIES TO
- Microsoft SQL Server 6.5 Standard Edition
This article was previously published under Q156340
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: kbprogramming kbprb KB156340