PRB: Syntax Errors When Precompiling ESQL for C (156340)



The information in this article applies to:

  • Microsoft SQL Server 6.5

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.

Modification Type:MajorLast Reviewed:10/3/2003
Keywords:kbprb kbProgramming KB156340