Einzelnen Beitrag anzeigen

junale

Registriert seit: 22. Dez 2004
Ort: Kaiserslautern
15 Beiträge
 
#1

Overflow in conversion or arithmetic operation

  Alt 18. Mär 2005, 09:04
Hallo,

wie kann ich folgenden Fehler umgehen...

Delphi-Quellcode:
if (fValInt64 >= -2147483648) and (fValInt64 <= 2147483647) then begin
...
end;
erzeugt:

Zitat:
Compiler Errors: Delphi
Overflow in conversion or arithmetic operation
The compiler has detected an overflow in an arithmetic expression: the result of the expression is too large to be represented in 32 bits.
Check your computations to ensure that the value can be represented by the computer hardware.
Laut Borland ist dieses Problem closed. Ich habe aber nicht vor, mir deswegen eine neue Delphi Variante zu kaufen.

Kennt jemand ein Workaraound/Patch?

Danke,
Alex
  Mit Zitat antworten Zitat