Click to See Complete Forum and Search --> : Free Disk Space Information


Syelixn
April 14th, 1999, 03:16 AM
I've tried to get free drive space information using the API GetDiskFreeSpaceEx(), but ended with some exceptions.

...
ULARGE_INTEGER i64FreeBytes, i64TotalBytes;

GetDiskFreeSpaceEx(NULL, i64FreeBytes, i64TotalBytes, NULL);
...

I've 'unhandled exception' when executing the API. Any suggestion ?
Thanks.

April 15th, 1999, 03:19 AM
try:

GetDiskFreeSpaceEx(NULL, &i64FreeBytes, &i64TotalBytes, NULL);

April 15th, 1999, 10:43 PM
It can't compile.
Thanks for the suggestion.