You're right! Didn't think of this wayRescator 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.
Another GetDirectorySize() Procedure (PB4.01)
-
- Enthusiast
- Posts: 468
- Joined: Sat Dec 20, 2003 6:19 pm
- Location: Switzerland
Re: Re:
I think you are compiled it with the x86 compiler. There is a difference to the original filesize.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.
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)
and/or disable the redirection to C:\Windows\SysWOW64