INF: ESQL-C Long Strings No Longer Cause Compiler Errors

Last reviewed: July 21, 1997
Article ID: Q170302
The information in this article applies to:
  • Microsoft Embedded SQL for C Programmer's Toolkit, version 6.5

It is possible for an ESQL-C module to contain strings longer than the Visual C/C++ compiler will allow. Error C2026 "string too big, trailing characters truncated" is generated when these strings are encountered.

A change has been made to ESQL-C that breaks long strings into multiple strings to avoid the compiler error. The updated components are available at ftp://ftp.microsoft.com/developr/msdn/esqlc under "Patch650 04.zip".


Keywords : kbusage ssrvesql_c
Version : 6.5
Platform : WINDOWS
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.