BUG: App Studio Generates GPF with Long Strings DefinedLast reviewed: July 22, 1997Article ID: Q116488 |
1.00 1.50
WINDOWS
kbtool kbbuglist
The information in this article applies to:
SYMPTOMSAttempting to load a resource compiler file into App Studio that contains a #define statement for a string that is longer than 255 bytes causes a general protection fault (GPF) in RCDLL.DLL.
RESOLUTIONThe only workaround is to use #define statement strings of 255 characters or less in the resource(.RC) file.
STATUSMicrosoft has confirmed this to be a bug with App Studio for Windows, versions 1.0 and 1.5, supplied with Visual C++ for Windows, versions 1.0 and 1.5. We are researching the problem and will post new information here in the Microsoft Knowledge Base as soon as it becomes available. This is not a problem with App Studio, version 1.1, supplied with Visual C++ 32-bit Edition, version 1.0.
Sample Code; PROBLEM.RC
#define VERYLONGSTRING "This is a very long string that will need"\ "to be continued on the next line. It will"\ "probably take quite a few lines of text to"\ "cause a general protection fault, but it"\ "will usually happen on lines greater than"\ "255 characters. This may be enough to make"\ "App Studio GPF; in fact, I'm pretty"\ "sure this is enough, so I probably should"\ "stop on this line here." |
Additional reference words: 1.00 1.50 character
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |