I have the following in Delphi XE:
fSettings := TFormatSettings.Create(LOCALE_USER_DEFAULT);
But I always get a warning on compile:
W1002 Symbol ‘Create‘ is specific to a platform
What is the correct way to do this, so that I do not get a warning?
SetThreadLocale
because can change the result of this function. – RRUZ Feb 1 ‘12 at 18:59