The information in this article applies to:
SYMPTOMSWhen a member of an imported class attempts direct initialization of a static local variable of class type with a constant string literal, the following error may result:
RESOLUTIONSimplify the expression. Declare a local static constant string literal, then use that local to initialize the static local variable of class type. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 6.0 for Windows. MORE INFORMATIONSteps to Reproduce Behavior
Additional query words:
Keywords : kberrmsg kbtool kbCompiler kbCPPonly kbVC kbVC500bug kbVC600fix |
Last Reviewed: February 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |