>> line 153  is

line 153 of which files?

On Wed, Aug 31, 2011 at 10:09 AM,  <[email protected]> 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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to