[fpc-pascal] DecimalSeparator automatic change ?

LacaK lacak at zoznam.sk
Fri Jan 17 09:28:07 CET 2014


Hi,
I have strange problem, I have application on Windows 2012 Server, where 
is set locale to Slovak (DecimalSeparator is comma)
In my application in DataModuleCreate I explicitly set 
FormatSettings.DecimalSeparator='.' (dot)
All works as expected (decimal numbers are formated with "dot"), but 
after some time (hours) when application runs, DecimalSeparator changes 
back to "comma" ?
Is it possible ?
AFAIK International settings are initialised once in sysutils 
initialization section, or are they reevaluated later ?
Thanks
-Laco.



More information about the fpc-pascal mailing list