>>Yep, yep! Didn't even think about using it, Garrett. This is inspite of the
>>fact that I've used the function before to determine if GetDiskFreeSpaceEx()
>>is available.
>
>Speaking of picky ( :-) ), checking the OS version to find out if an API is installed is not the best way to do it. Use GetProcAddress instead.
>
>
http://support.microsoft.com/support/kb/articles/q193/5/73.aspUmm, would you believe that's the way the Platform SDK (at the time) said to do it? Here's the quote:
"The GetDiskFreeSpaceEx function is available on Windows 95 systems beginning with OEM Service Release 2 (OSR 2).
Use the GetVersionEx function to determine that a system is running OSR 2 or a later release of the Windows 95 operating system. The GetVersionEx function fills in the members of an OSVERSIONINFO data structure. If the dwPlatformId member of that structure is VER_PLATFORM_WIN32_WINDOWS, and the low word of the dwBuildNumber member is greater than 1000, the system is running OSR 2 or a later release."
Now, I'll admit that the current MSDN library shows another method, but I'm not sure that the current Platform SDK does.:-)
George
Ubi caritas et amor, deus ibi est