Regional settings detection
Hello everyone,
Perhaps for some this maybe a simple question. I am having language problems with my applications. How can I detect which keyboard the windows regional settings are set to? My problem is that, for calculation purposes, some keyboard use the "." for separating decimals as in 2.5, 34.78 etc... While others use the "," as in 2,5, 34,78. In order for my applications to do proper calculations, it must find a way to detect these settings. Anyone know how?
Ciao,
Re: Regional settings detection
check out this article by Chris Eastwood
http://www.codeguru.com/vb/articles/1716.shtml
or use the GetLocaleInfo API