FIX: ClassWizard Parsing Error with Float VariablesLast reviewed: September 16, 1997Article ID: Q108521 |
1.00 1.50 | 1.00 2.00
WINDOWS | WINDOWS NTkbtool kbfixlist kbbuglist kbfasttip The information in this article applies to:
SYMPTOMSAfter entering a maximum or minimum float variable value in the edit variable option of Class Wizard, a parsing error happens when starting up Class Wizard again with the same project. Any number entered that is greater than 999,999 will cause this problem.
RESOLUTIONThe minimum and maximum information for the float is written out to the dialog box's .CPP file (in the case above, CDDXPROP.CPP, in the DoDataExchange member function). In this case, it is written as:
DDV_MinMaxFloat(pDX, m_edit, 0., 1.e+008);Changing the scientific notation in the .CPP file from 1.e+008 to its original form as 99999999 will solve the parsing problem, and Class Wizard will open as expected without displaying the parsing error.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ 2.1.
MORE INFORMATIONTo reproduce this problem, do the following:
|
Additional reference words: 1.00 1.50 2.00 DDX\DDV float parsing error
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |