RW2002 Error "Cannot Reuse String Constants" in RC.EXE (21569)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.0
- Microsoft Windows Software Development Kit (SDK) 3.1
- Microsoft Win32 Software Development Kit (SDK) 3.1
- Microsoft Win32 Software Development Kit (SDK) 3.5
- Microsoft Win32 Software Development Kit (SDK) 3.51
- Microsoft Win32 Software Development Kit (SDK) 4.0
This article was previously published under Q21569 SUMMARY
The error "Cannot Reuse String Constants" will be returned by the Resource
Compiler if you have used the same ID value to define two different string
constants.
For example, the following error is returned when compiling the resource
file:
Cannot Reuse String Constants
The file MY.RC may contain the following lines:
Modification Type: | Major | Last Reviewed: | 3/5/1999 |
---|
Keywords: | KB21569 |
---|
|