[Lazarus] fpGUI Widget Type: TTimer fix
Felipe Monteiro de Carvalho
felipemonteiro.carvalho at gmail.com
Wed Aug 31 10:15:33 CEST 2011
>> line 153 is
line 153 of which files?
On Wed, Aug 31, 2011 at 10:09 AM, <michael.vancanneyt at wisa.be> wrote:
> I think
> Result := PtrUint(Timer);
> is better and safer. THandle has a 'windows-only' ring to it.
>From LCLType.pas:
{$ifndef WINDOWS}
THandle = type PtrUInt; // define our own, because the
SysUtils.THandle = System.THandle is a longint
HANDLE = THandle;
PHandle = ^THandle;
Although there is also:
unit WSReferences;
...
type
// use TLCLHandle instead of THandle since THandle = longint under 64bit linux
TLCLHandle = PtrUInt;
PLCLHandle = ^TLCLHandle;
The comment seams to ignore the existence of LCLType.THandle.
--
Felipe Monteiro de Carvalho
More information about the Lazarus
mailing list