> 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 _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal