Paradox Community

Items in pnews.paradox-discussions

Subject:Re: BDE_Error-If_Free_Disk_Space_Exceeds_4GB - MORE
Date:Fri, 11 Dec 2020 21:38:21 +0000
From:Michael Kennedy <Info@KennedySoftware.ie>
Newsgroups:pnews.paradox-discussions
Steve, Kevin,

On 11/12/2020 16:41, Steven Green wrote:
> every once in a while, I get the 4gig error when trying to do a rebuild 
> or restruct.. maybe a couple of times a year..

Are you using the patched or unpatched DLL? (Hopefully, the unpatched 
one, and, presumably, on 64bit windows!).

> haven't tried the patch 
> on 64bit, and suspect that it might not work on 64bit..

I expect it would be OK, Steve.

If not, and if Rick does not visit here, I might dig out the patch, and 
take a look.

> I also suspect 
> that the 4gig math was right at exactly 4gig, or a touch above that, cuz 
> each time I just copy a big file, do the restruct, delete the big file, 
> and go on my merry way

Yep, your approach would work very well. Except, this condition could 
also arise when a user adds a new record to a table, and paradox does 
the same free-space test, and gets the wrong result, and crashes.

IIRC, when the free space is just a tad above a multiple of 4GB, then 
Paradox sees only the 'tad', and bombs. So, when you add that large 
file, the free space is then just a tad below a multiple of 4GB, and 
paradox sees "4GB minus tad", and is happy...

Separately, Windows has lots of concealed caches (that I never tried to 
understand), and, Kevin, when you copy in the patched DLL, I'd wonder if 
the unpatched DLL is still hanging around somewhere in caches, and is 
actually running? It's weird if there's some evidence that the unpatched 
version is still alive - after installing the patched one?

   - Michael


> Well after the install,
> 
> DBE would not run.
> 
> 
> I removed the BDEKER32.dll and reverted the BDE dll to the back up.
> 
> 
> I think I also really need to move the DBE out of the C:\programs UAC 
> zone...
> 
> I am using the latest BDE. Wasn't there an installed that would allow you
> to install to C:\DBE or somewhere simpler?
> 
> 
> "Kevin Zawicki" <numberjack@wi.rr.com> wrote:
>>
>>
>>
>> New PC, win 10.
>> 64bit.
>> Restructure a table show Insufficient disk space.
>>
>>
>> The drive free space was evenly divisible by 4gb.
>>
>> Have not seen this in a while.
>>
>>
>> I applied the Fix_For_Incorrect_BDE_Error-If_Free_Disk_Space_Exceeds_4GB
>>
>>
>>
>> The test form reports not installed, even though I manually checked that
>> the dbeker32.dll is there in Windows\system32.
>>
>> Not sure why it cannot see it.
>>
>> Forcing that variable in the test to be true, it goes on to to verify the
>> DBE change and it cannot see that either.
>> The install reported installed and made the back up.
>>
>>
>> I might have an older version of the DBE 4 gb fix.
>>
>> Any one applied this to Windows 10 64bit?
>>
>> UAC blocking anything?
>>
>>
>>


Copyright © 2004 thedbcommunity.com