Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetDiskFreeSpace
Message
From
11/11/1997 11:20:52
Alex Zhadanov
Computer Generated Solutions
New York City, New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00059383
Message ID:
00059532
Views:
39
>>>>Hi all!
>>>>May be somebody knows if such API function exist for Windows 3.x platform.
>>>>I found this API only for WINDOWS 95.
>>>>And i could not find this or similar functions for WINDOWS NT or Windows 3.1
>>>>How can i find out FREE SPACE for disk if i work with FOXPRO 2.6.
>>>>
>>>>THANKS Alex
>>>
>>>Is DISKSPACE() not available in 2.6?
>>NO. By the way I got very strange result when i applied API call GetVersion to
>>Windows NT. I got windows version 3.1 i.e I got number 2563 (or hex A03).
>>For Windows 95 I got right result hex 5F03.And Foxpro function OS() for
>>Windows NT return Dos 5.0 and OS(1) return Windows 3.1. Can you explain why it
>>happened ?
>>Thank Alex.
>
>Alex,
>
>DISKSPACE() was available as early as version 2.0.
>
>Are you running a version of NT prior to 3.51? You should also be aware that the 16 bit and 32 bit versions of GetVersion return different results under Win95. The sixteen bit version returns, as you mentioned, 5F03 or 3.95, thirty-two versions returns C0000004 or 4.12. OS() under 95 returns always (regardless of the parameters Windows 4.00.
>
>George
Thank you,George. You are right. I simply overlooked DISKSPACE() function.
Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform