>Hello,,
>
>I just upgraded to sdt 5.1 to overcome a major packing/reindexing issue with VFP60 sp3 and sdt 5.0e. The upgrade worked, but now I have a different issue on 1 out of 3 machines.
>
>The error I get is:
>
>Error #: 1754
>Message: Cannot find entry point GetDiskFreeSpace in the DLL
>Line #: 63
>Method: StdUtility.getdrivespace
>
>Line 63 states: "Declare short GetDiskFreeSpaceEx in Win32API ..."
>What DLL is being queried? (Ok I may be showing some ignorance). I searched my three Win 95a/95b/NT4.0 machines for any win32*.* files and this is what I came up with.
>
WIN32API is a catch phrase that references several common Windows DLLs without having to name the specific provider; GetDiskFreeSpace() is actually part of KERNEL32.DLL on all Windows systems. Under early versions of Win95, it returns incorrect free disk space values for partitions >2GB, as noted in the MSDN Library:
Windows 95:
For volumes that are larger than 2 gigabytes, the GetDiskFreeSpace function may return misleading values. The function caps the values stored into *lpNumberOfFreeClusters and *lpTotalNumberOfClusters so as to never report volume sizes that are greater than 2 gigabytes.
Even on volumes that are smaller than 2 gigabytes, the values stored into *lpSectorsPerCluster, *lpNumberOfFreeClusters, and *lpTotalNumberOfClusters values may be incorrect. That is because the operating system manipulates the values so that computations with them yield the correct volume size.