BUG: Double Quotes in ESQL for C Can Cause C Compiler ErrorsLast reviewed: April 30, 1997Article ID: Q125228 |
The information in this article applies to:
SYMPTOMSWhen attempting to compile an Embedded SQL for C (ESQL-C) application after running the program through the precompiler (NSQLPREP.EXE and SQLPREP.EXE),the following syntax errors are produced by the compiler:
syntax error : missing ')' before identifier .... illegal escape sequence CAUSEWhen precompiling with the /NOSQLACCESS parameter, if there are Transact- SQL statements with character strings in double quotes, the precompiler incorrectly builds the query string by using \\" instead of \" in the resulting .C file.
WORKAROUNDThere are several ways to avoid this situation:
STATUSMicrosoft has confirmed this to be a problem in Microsoft Embedded SQL for C Programmer's Toolkit version 4.22. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional query words: ESQL for C Windows NT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |