[fpc-pascal]More strangeness...

Matt Emson memsom at interalpha.co.uk
Fri Aug 29 16:03:25 CEST 2003


> Yep, I took a look at the windows unit last night, found the bulk of type
> declarations were in BASE.INC and noticed, almost right away, that
"Handle" a
> 32 bit unsigned value is declared as a longint. Shouldn't it be a
LongWord? A
> longint has only half as many positive values as a longword and a
> high-numbered handle could be causing the range checking error.

THandle = DWORD = LondWord = Cardinal in 32bit ObjectPascal

Integer is completely wrong.

Matt






More information about the fpc-pascal mailing list