The information in this article applies to:
SYMPTOMSThe Windows Resource Compiler produces the following error message: This error message may be encountered when you are using a "chaining" technique to define the identifiers for strings that are located within a stringtable in your resource file. The identifiers are defined in an include file. "Chaining" means that the value of an identifier depends on the value of the previous identifier plus a predefined increment. The following is an example:
The advantage of this "chaining" technique is that when identifiers are
added, it ensures that every identifier will be unique.
CAUSEThis problem is occurring because the RC compiler does not do mathematical computation. The lines of code above would actually be expanded as follows:
What is happening is that after so many lines, the expansion of the line is
exceeding the buffer allotted for macro expansions. Since the RC compiler
does not do arithmetic, it interprets all #defines as characters.
Additional query words: 3.00 3.10
Keywords : kb16bitonly |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |