Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error 1754 when reindexing in sdt 5.1
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00440718
Message ID:
00441698
Views:
13
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform