Kovalenko Dmitry wrote:

Я вот, например, знаю что IntToStr() не многопоточен :-)))

В смысле?
Обшибся: FloatToStr, DateToStr, ... все что использует глобальные форматы:
<-- Delphi Help -->
function FloatToStr(Value: Extended): string; overload;
function FloatToStr(Value: Extended; const FormatSettings: TFormatSettings): string; overload;

The first form of FloatToStr is not thread-safe, because it uses localization information contained in global variables. The second form of FloatToStr, which is thread-safe, refers to localization information contained in the FormatSettings parameter. Before calling the thread-safe form of FloatToStr, you must populate FormatSettings with localization information. To populate FormatSettings with a set of default locale values, call GetLocaleFormatSettings.
<-- end -->
IntToStr похоже сюда не относится

Reply via email to