/*Hi Aldrin,
if you go back a long ways in the newsgroup there is a posting by James Donahue on 5/17/2001,(that's where I got it)
I presume you have the toolbox.h header #included for the Int64Type struct definition
you need to convert the Int64Type to a double ( 0xFFFFFFFF + 1.0 is a convenient shorthand for 2^32)
like so:
suppose you have*/
UInt64Type l_bytes_free, l_tot_bytes;
double dBytesFree, dBytesTot;
//and you call
l_result = DirSelectPopup ("", "Select Directory", 0, 1, l_path);
SplitPath (l_path, l_drive, l_dir, l_fname);
GetDiskSpace (l_drive, &l_tot_bytes, &l_bytes_free);
//now convert the struct to double
dBytesFree = (double)l_bytes_free.loBytes + ((double)(l_bytes_free.hiBytes))*((double)(0xFFFFFFFF + 1.0));
dBytesTot = (double)
l_tot_bytes.loBytes + ((double)(l_tot_bytes.hiBytes))*((double)(0xFFFFFFFF + 1.0));
I tested this on W2KP and CVI6.0
cheers, HTH.