The information in this article applies to:
SYMPTOMSWhen creating a derived C++ class, Developer Studio exits with no warning or error message. CAUSEA global variable of that class was declared before the derived C++ class was defined. RESOLUTIONAlways define the class first before declaring global variables from that class. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
In this example, writing the CDerivedTest class definition first avoids the problem. REFERENCESFor additional information, please see the following article(s) in the Microsoft Knowledge Base: Q153284 INFO: Limitations of IntelliSense in Visual C++ 6.0
Keywords : kbEditor kbide kbVC600bug kbDevStudio kbGrpDSTools |
Last Reviewed: July 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |