vgulielmus
Programmer
Recently I struggled with the currency symbol, for my copytoxlsx function and class. My goal was to get the user default setting, the ones from Control Panel -> Regional Settings. And so I had to deal with GetLocaleInfo and GetLocaleInfoEx.
GetLocaleInfo tends to become deprecated. It is ASCII oriented, but can be used in Windows XP and above.
GetLocaleInfoEx is UNICODE oriented, but cannot be used in Windows XP, only in Vista and above.
They look similar and give similar informations. GetLocaleInfo results are ASCII, while GetLocaleInfoEx are Unicode.
The main difference between functions signature is the first parameter. GetLocaleInfo accept a LONG, while GetLocaleInfoEx a string (pointer)
Because I didn't find any VFP example for GetLocaleInfoEx, I wrote this FAQ
Hope
Respectfully,
Vilhelm-Ion Praisach
Resita, Romania
GetLocaleInfo tends to become deprecated. It is ASCII oriented, but can be used in Windows XP and above.
GetLocaleInfoEx is UNICODE oriented, but cannot be used in Windows XP, only in Vista and above.
They look similar and give similar informations. GetLocaleInfo results are ASCII, while GetLocaleInfoEx are Unicode.
The main difference between functions signature is the first parameter. GetLocaleInfo accept a LONG, while GetLocaleInfoEx a string (pointer)
Because I didn't find any VFP example for GetLocaleInfoEx, I wrote this FAQ
Hope
Respectfully,
Vilhelm-Ion Praisach
Resita, Romania