string too big, trailing characters truncated
The string was longer than the limit of 2048 characters.
Prior to adjacent strings being concatenated, a string cannot be longer than 2048 characters.
If you have a string defined as follows, it generates C2026:
char sz[] = "\ imagine a really, really \ long string here\ ";
You could break it up as follows:
char sz[] = "\ imagine a really, really " "long string here\ ";
You may want to store exceptionally large string literals (32K or more) in a custom resource or an external file. See Creating a New Custom or Data Resource for more information.