Page 3 of 3

Posted: Mon Nov 27, 2006 8:02 pm
by remi_meier
Rescator wrote:time.l=1
WaitWindowEvent(time)

Using a variable, you can change the variable and WaitWindowEvent() will use the new value on it's next wait.
You're right! Didn't think of this way :)

Re:

Posted: Fri Apr 02, 2021 5:27 pm
by BarryG
Hmm, why do both Tranquil and AND51's codes return incorrect results? My "C:\Windows\System32" folder is 6,896,587,636 bytes but both codes says it's 4,543,822,572 bytes.

Re: Re:

Posted: Fri Apr 02, 2021 6:17 pm
by Bisonte
BarryG wrote:Hmm, why do both Tranquil and AND51's codes return incorrect results? My "C:\Windows\System32" folder is 6,896,587,636 bytes but both codes says it's 4,543,822,572 bytes.
I think you are compiled it with the x86 compiler. There is a difference to the original filesize.
System32 is a system folder with some special rights. x86 (pb)programs can't access all folders.

If I compile it with x64 compiler I get the right filesize.

Re: Another GetDirectorySize() Procedure (PB4.01)

Posted: Fri Apr 02, 2021 7:11 pm
by ChrisR
and/or disable the redirection to C:\Windows\SysWOW64