Thanks for the explanation. This works the way I want it to... working with the rollover without causing an overflow error even if I leave overflow checking turned on.
DWord((QWord(GetTickCount) - QWord(Last_Input_Info.dwTime)) AND $00000000FFFFFFFF) James _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
