I know there are system functions for getting the date and time in a format that is unique to the users locale (i.e. GetDateFormat).
Does anyone know if there is a way to determine programatically what volume and weight measurement systems are typical in the users locale?
For example, I may measure liquids in gallons, where someone in another country may measure liquid in liters.
Or, I may measure distances in miles, where other countries may measure distances in kilometers.
Ideally, I'd like to query the Windows API to determine what measurements are in use so my program can make whatever conversions are needed automatically.
Thanks,
Anthony
Does anyone know if there is a way to determine programatically what volume and weight measurement systems are typical in the users locale?
For example, I may measure liquids in gallons, where someone in another country may measure liquid in liters.
Or, I may measure distances in miles, where other countries may measure distances in kilometers.
Ideally, I'd like to query the Windows API to determine what measurements are in use so my program can make whatever conversions are needed automatically.
Thanks,
Anthony
Comment