[Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

Juha Manninen juha.manninen62 at gmail.com
Sun Dec 22 10:06:17 CET 2013


On Sat, Dec 21, 2013 at 5:41 PM, Marcos Douglas <md at delfire.net> wrote:
>> LCL (and VCL) typically use events, like TNotifyEvent. They are
>> basically just call-back functions.
> Oh, not same. I use a lot Events -- no only Form or GUI components --
> in my core codes but PostMessage is very different, eg., you call a
> PostMessage, show a Modal Form and the process will start after; the
> task code is not inside the instance of the Form and the Form knows
> nothing about the task.

Ok, true.
Some of the Windows message are ported to be cross-platform. I have
used OnIdle handler and sometimes threads when I want the action to
happen later.

Juha




More information about the Lazarus mailing list