Einzelnen Beitrag anzeigen

mjustin

Registriert seit: 14. Apr 2008
3.006 Beiträge
 
Delphi 2009 Professional
 
#3

AW: Falsches ShortDateFormat unter Windows 7

  Alt 26. Sep 2011, 15:17
Eventuell hilft dieser Thread weiter:

Should GetThreadLocale become deprecated?
https://forums.embarcadero.com/threa...60433&tstart=0

Zitat:
As discussed on Stackoverflow, GetThreadLocale returns different value
than GetUserDefaultLCID
(http://stackoverflow.com/questions/1...serdefaultlcid).
As one of the answers said, it occurs because Microsoft seems to be in
the process of deprecating the Locale ID in favor of the Locale Name. So
should Delphi reflect this process by deprecating GetThreadLocale?
Die Lösung wäre getuserdefaultlcid zu verwenden, wenn ich es richtig gelesen habe.
Michael Justin
  Mit Zitat antworten Zitat