PRB: IsDigit Returns Wrong Value when Called from DLLLast reviewed: January 15, 1998Article ID: Q152150 |
The information in this article applies to:
SYMPTOMSUnder Windows 3.1 or Windows 95, when IsDigit() is called in a DLL, it returns TRUE if the characters are 240 and 248. IsDigit should return FALSE for these characters.
RESOLUTIONYou can use SDK APIs instead of the C Run-time calls to avoid this problem. Instead of calling:
if (IsDigit(a))you can call the following line to get the correct result:
if (IsCharAlphaNumeric(a) && (!IsCharAlpha(a))) |
Additional query words: MSVC
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |