Microsoft KB Archive/170302

From BetaArchive Wiki
Knowledge Base


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

PSS ID Number: 170302

Article Last Modified on 12/2/2002



The information in this article applies to:

  • Microsoft Embedded SQL for C Programmer's Toolkit



This article was previously published under Q170302

SUMMARY

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: kbinfo kbusage KB170302
Technology: kbAudDeveloper kbSQLEmCPTKSearch kbSQLServSearch