>I wouldn't base my program on low probability in this case. Mainly because the probability is not low. :)
>
Vlad,
Vlad,
Absolutely, if there's no 100% sure fire, in every case way to do this, then I'd forget it.
After a series of privates with Ed, I've come to a couple of conclusions. First, is that there is no way to reliably do this (as stated above). The second is that this function has been included for backward compatibility. Back in the DOS days, this might have been of interest. Then, you (and Fox) could reliably get the cluster size via the ROM BIOS. Today, it seems that it's been decided that, given the various possibilities, that the average program shouldn't worry about it, and that Windows with take care of the details internally. I'd site that, to the best of my knowledge, there's no reliable way to do this via either Win32 or Win64.
Personally, I think that there's a high degree of probability that the documentation for the next version of VFP will at least note that the function is not reliable. This is one of those things that there is apparently no fix for.
George
Ubi caritas et amor, deus ibi est