Page 1 of 1
Problem DISKFREE
Posted: Thu Feb 18, 2021 6:39 pm
by Georg_BA
Hello, i need help with function diskfree()
if I use it when compiling writes "undefined reference to `HB_FUN_DISKFREE' "
Re: Problem DISKFREE
Posted: Thu Feb 18, 2021 7:07 pm
by Claudio Ricardo
Hi... Try this:
cDiskFree := Hb_NtoS ( Hb_DiskSpace( "C:" ) / 1000000000) + " Gigabytes"
Hb_DiskSpace ("C:") return the free space remain in the C or other unit. (in bytes)
Re: Problem DISKFREE
Posted: Thu Feb 18, 2021 7:52 pm
by Georg_BA
Thanks, it works, I didn't know about this function