FIX: RW2002 Error From Long Resource IdentifierLast reviewed: September 16, 1997Article ID: Q99389 |
1.00 1.50 | 1.00
WINDOWS | WINDOWS NTkbtool kbfixlist kbbuglist kbfasttip The information in this article applies to:
SYMPTOMSAn attempt to build resources in App Studio fails and App Studio generates the following message:
error RW2002: File not found CAUSEIf a bitmap, cursor, or icon has an identifier longer than 23 characters, App Studio incorrectly generates the resource file. As the identifier grows beyond 23 characters, it eliminates spaces between the identifier and the resource statement. Eventually, the identifier displaces the resource statement to the right. If the identifier is long enough, it eliminates spaces between the resource statement and the memory option.
STATUSMicrosoft has confirmed this to be a problem in App Studio version 1.0 for Windows and App Studio version 1.1 (32-bit). This problem was corrected in Visual C++ 32-bit Edition version 2.0.
More InformationApp Studio generates a line like the following for the IDB_THISISAVERYLONGIDENTIFIER identifier:
IDB_THISISAVERYLONGIDENTIFIERBITMAPDISCARDABLE "filename.bmp"It should generate the following:
IDB_THISISAVERYLONGIDENTIFIER BITMAP DISCARDABLE "filename.bmp" |
Additional reference words: 1.00 1.10 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |