PRB: IsDigit Returns Wrong Value when Called from DLL |
Q152150
Under 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.
You 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
Keywords : kb16bitonly kbIntlDev
Issue type : kbprb
Technology : kbVCsearch kbAudDeveloper kbWin3xSearch kbvc150 kbvc100 kbSDKSearch kbWinSDKSearch kbWinSDK310 kbVC151 kbVC152
|
Last Reviewed: May 9, 2001 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |