To get the locale settings, e.g. short date format, we\'ve always used GetLocaleFormatSettings with GetThreadLocale. This has always worked without problem until now.
<
I noticed same problem, when I started using new Windows 7 computer. I spent some time trying to find what causes this, but found nothing. So I just added these two lines to some units initialization section.
initialization
SetThreadLocale(LOCALE_USER_DEFAULT);
GetFormatSettings;
Strange is that this behavior occurs only in my computer as we have few other Win7 computers in office also.