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.
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.