BUG: Double Back-slash (\\) in C Can Cause ESQL for C ErrorsLast reviewed: April 30, 1997Article ID: Q125229 |
The information in this article applies to:
SYMPTOMSThe Embedded SQL for C (ESQL-C) precompiler may generate compiler errors when existing strings in C functions using a double-backslash (\\). Errors such as the following may be produced:
Warning: example1.sqc, line 72: Undetermined string. strcpy (pathname, CAUSEThe ESQL-C precompiler (NSQLPREP.EXE and SQLPREP.EXE) can incorrectly parse the use of a double-backslash (\\) within the source of an ESQL-C file . The following function call to strcpy() can cause the problem to occur:
strcpy (pathname, "c:\\"); WORKAROUNDAvoid the use of a double-backslash (\\) in a string within an ESQL-C application. STATUS Microsoft 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. |