Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#7

Re: Verzeichnisgröße ermitteln -> Probleme mit großen Dat

  Alt 5. Jan 2005, 20:02
Was soll auch passieren? Es kommt einfach zu einem Überlauf. Hättest du allerdings das Overflow Checking aktiviert hättest du auf eine Delphi-Referenz durchsuchenEIntOverflow Exception reagieren können:
Zitat:
EIntOverflow is the exception class for integer calculations whose results are too large to fit in the allocated register.

EIntOverflow is an integer math exception that occurs when a calculated result is too large to fit in the register allocated for it and data is therefore lost.

EIntOverflow is raised only if overflow checking is turned on. To turn on overflow checking, include the $Q+ directive in project source code, or select Project|Options, choose the Compiler tab, and check the Overflow-checking option in the dialog box.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat