[Lazarus] screen.cursor := crHourglass and Linux
vincent.snijders at gmail.com
Tue Apr 19 08:44:20 CEST 2011
2011/4/19 Graeme Geldenhuys <graemeg.lists at gmail.com>:
> Unless you store a reference of the result of the DisplayCursor() call,
> it will not work under FPC (like it does under Delphi). FPC is *not*
> compatible with the way Delphi works in this regard. The FPC developers
> are also not willing to fix this because the freeing of a undeclared
> interface reference in a local method is a undefined/undocumented
> feature of Delphi
I thought it was freed just like Delphi (so no resource leak), but not
at the same time (which is undocumented) as Delphi.
> The issue is only if you call DisplayCursor() without storing the result
> in a local variable.
More information about the Lazarus