Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetDiskFreeSpaceEx() in WIN32API
Message
From
11/01/2000 22:43:58
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00315812
Message ID:
00316644
Views:
46
>>You can use 3 VFP strings initialized with repl(chr(0), 8) for the 3 ULARGE_INTEGER parameters. Be aware that
>>GetDiskFreeSpaceEx() does not return an error (everything works just like there's nothing wrong if called on
>>Win95 previous OSR2).
>>
>>I don't understand where is VFP using floating point numbers for this function call.
>>
>
>I believe that integers at ~2^32 stop being returned as integers and start being doubles. I haven't checked he crossover point in detail

VFP doesn't know that you allocated 8 bytes instead of 4. And the DLL function has no reason to work with doubles. So, nobody converts anything.

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform