Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bug Fix for Software Science Topaz for Delphi v9.0.11 Insufficient Disk Space #227

Status
Not open for further replies.

bgavin

Programmer
Sep 1, 2023
1
US
The last version of Topaz for Delphi is v9.0.11

As delivered, the file "tzndx.pas" throws a 227 error about insufficient disk space.
The root cause of the error is large drives that exceed the standards when this package was written.
This can be proven by running the application on an SSD or other drive smaller than 4tb.

The failing function is tzndx.EnoughDiskSpace
The bug is using type LongInt for vars "needed" and "availKb"

The fix is changing type LongInt to LongWord.
Those wanting to keep the compiler happy can type cast LongWord to "BLOCK_SIZE" and "r_count" in this function.
Otherwise, you get a compiler warning about widening operands.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top