The information in this article applies to:
SYMPTOMSAn attempt to use a constant integer expression to define a resource identifier in an application's resource (.RC) file fails. App Studio version 1.x displays the following message: Visual C++ version 2.x displays the same message if a .RC file containing a constant integer expression used to define a resource identifier is loaded into App Studio or opened in the development environment. Under these circumstances, Visual C++ versions 4.x and 5.0 display a similar, but slightly different message:
RESOLUTIONUse a text editor to modify the resource file. Place the statements that include an expression into an "#ifndef APSTUDIO_INVOKED" block. App Studio does not automatically read that portion of the resource file for editing and App Studio does not list those resources as part of the .RC file. Use a text editor to make any further changes to those lines. MORE INFORMATIONTo demonstrate this situation, place the following statements into a resource (.RC) file:
To work around this situation, modify the resource file as follows:
Additional query words:
Keywords : kberrmsg kbResourceEd kbVC kbVC100 kbVC150 kbVC151 kbVC152 kbVC200 kbVC210 kbVC400 kbVC500 kbVC600 kbGrpDSTools |
Last Reviewed: July 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |