EIntOverflow in Delphi 7

49 Views Asked by At

I'm using this code. The mod line triggers an integer overflow (Delphi 7)

iValue : cardinal;
iWord : word;
...

if iValue mod iWord > 0 then 
...

As it is on a customer PC with no way to debug, I need some help to fix it.

0

There are 0 best solutions below