BUG: GetPrivateProfileInt() May Not Read Correct ValueLast reviewed: January 5, 1995Article ID: Q111602 |
The information in this article applies to:
SYMPTOMSIf GetPrivateProfileInt() is used to read a number that has preceding white space, the value returned may be incorrect. For example, if the .INI file entry is as follows, GetPrivateProfileInt() may return 0 (zero):
MyValue= 5 CAUSEThis problem is caused by the white space in front of the number.
RESOLUTIONEnsure that any numbers written to an .INI file do not contain white space.
STATUSMicrosoft has confirmed this to be a bug in Windows version 3.1. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional reference words: buglist3.10 3.10 whitespace
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |