FIX: ClassWizard Floating-Point Parsing ErrorsLast reviewed: September 16, 1997Article ID: Q107465 |
1.00 1.50 | 1.00 2.00
WINDOWS | WINDOWS NTkbtool kbfixlist kbbuglist The information in this article applies to:
- Microsoft Visual C++ for Windows, versions 1.0 and 1.5 - Microsoft Visual C++ 32-bit Edition, versions 1.0 and 2.0
SYMPTOMSClassWizard cannot parse floating-point numbers written in scientific floating-point notation, such as 1.e+006. If a number formatted in this manner is in the lines of code that ClassWizard must parse, the following error is generated:
Parsing error: Expected ")". Input Line: "DDV_MinMaxFloat(pDX, m_Var, 0., 1.e+006);"The follow sequence of steps causes the code generator of ClassWizard to generate floating-point numbers in scientific notation:
RESOLUTIONThe only work around is to modify the code by hand and convert it back to the original notation. Be aware, however, that if you edit the variables for that class again, the numbers will be converted back to scientific notation.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Visual C++ 2.1.
|
Additional reference words: 1.00 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |