VC 6 has a lot of macros that begin with _t that map to ANSI functions normally and to UNICODE functions when _UNICODE is defined.
isalpha is the normal ANSI function
iswalpha is the wide (UNICODE) function
_istalpha is a macro that is mapped to either isalpha or iswalpha depending on the _UNICODE/UNICODE compiler flag. So far, so good.
I just found out the hard way, that _tolower is NOT a UNICODE mapping of tolower and/or towlower.
Now, how do you create a lower case character from an uppercase character when you don't know if you will have UNICODE or not when compiling ? Obviously you can write your own #ifdef of _UNICODE, but that's ugly and plain dumb when the other 99% of character mapping functions already has macros.
Anyone else having problems with this ?