Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


ID: 21475, Patch for BDE 'Insufficient disk space' problem. (4Gb multiples

by Reinaldo Yañez Email: ryaayr@yahoo.com


Patch for BDE 'Insufficient disk space'-error which can occur while using BDE when the disk free space is near to a multiple of 4Gb.
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 4.0  to 7.0 7271 downloads
Copyright: No significant restrictions


Size: 34,850 bytes
Updated on Mon, 22 Mar 2004 18:44:49 GMT
Originally uploaded on Wed, 25 Feb 2004 10:03:08 GMT
SHA1 Hash: 4DC2A501B741D33C55134CD001B67C4EADB54EB5
MD5 Hash: BC7FDD2209001C84A727B17108DF2A61

    Explore the files in this upload

Description
This unit is a patch for the famous 4Gb BDE Bug. It is build to fix the 'Insufficient disk space'-error which can occur while using BDE when the disk free space is near to a multiple of 4Gb. For more information please see BDE report# 7089 on Quality Central.
The reason for the error in BDE is aparently a bug in idapi32.dll while computing free disk space. Idapi32.dll is using the api function called GetDiskFreeSpaceA exported by kernel32.dll.
The solution is to 'patch' GetDiskFreeSpaceA in kernel32.dll for the current process, every call to this function is redirected to a new routine (NewGetDiskFreeSpaceA).

The source code of the patch is included. If you use another programming language (i.e. not Delphi), a precompiled DLL (FIX4GBug.dll) is also included. (If you can compile the included unit, then you do not need to distribute the DLL)

   Latest Comments  View All Add New

Move mouse over comment to see the full text
Reply  Posted by Mark Estrada on Aug 31 2012
Patch for BDE 'Insufficient disk space' problem. (4Gb multiples
Reply  Posted by Craven Weasel on Aug 28 2012
re: Patch for BDE 'Insufficient disk space' problem. (4Gb multiples
Reply  Posted by Craven Weasel on Jan 24 2012
re: Patch for BDE 'Insufficient disk space' problem. (4Gb multiples
Reply  Posted by Wou Emmanuel on Jul 18 2011
Patch for BDE 'Insufficient disk space' problem. (4Gb multiples
Reply  Posted by Jonathan Araujo on Jan 02 2009
Patch for BDE 'Insufficient disk space' problem. (4Gb multiples

Server Response from: ETNACDC04