[Lazarus] DateTimeToStr gives an invalid format string error when closing an rdp session

Luca Olivetti luca at wetron.es
Wed Jan 25 09:35:52 CET 2017


El 25/01/17 a les 09:23, Luca Olivetti via Lazarus ha escrit:
> El 25/01/17 a les 09:09, Luca Olivetti via Lazarus ha escrit:
>> El 25/01/17 a les 09:06, Luca Olivetti via Lazarus ha escrit:
>>
>>>
>>> the error disappears.
>>> Reported as http://bugs.freepascal.org/view.php?id=31272
>>>
>>>
>>> Now, back to my original problem....(TPageControl components randomly
>>> disappearing)
>>
>>> http://bugs.freepascal.org/view.php?id=31272
>>
>> Or maybe this is it: if the production system triggers an
>> WM_SETTINGCHANGE message it could be overwriting some memory pertaining
>> to that TPageControl (long shot, I know, but...)
>
> Another question is, shouldn't GetFormatSettingsUTF8 get called at
> application startup and not only in case of an WM_SETTINGCHANGE message?

Added a note to the bug report: my patch fixes the sigsev but the 
returned strings are *not* in utf8.

Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007


More information about the Lazarus mailing list