tberglund
asked on
Reginal Settings
I running a Windows NT 4.0 and the Regional Settings are set to Swedish.
When I'm calling GetLocaleInfo to get the digit grouping symbol which is
a space character with ascii 32 it returns a space character but the
ascii is set to -96. Why ????. When the digit grouping symbol is set to
a comma it works just fine.
Here is the code:
char szThousandSymbol[10];
GetLocaleInfo(LOCALE_USER_ DEFAULT, LOCALE_STHOUSAND, (LPTSTR) szThousandSymbol, sizeof(szThousandSymbol));
Regards,
torbjorn.berglund@reterm.s e
When I'm calling GetLocaleInfo to get the digit grouping symbol which is
a space character with ascii 32 it returns a space character but the
ascii is set to -96. Why ????. When the digit grouping symbol is set to
a comma it works just fine.
Here is the code:
char szThousandSymbol[10];
GetLocaleInfo(LOCALE_USER_
Regards,
torbjorn.berglund@reterm.s
Did you check what value returned GetLocaleInfo?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.