Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win95 diskspace limitation
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00454307
Message ID:
00455433
Views:
31
>Hi George,
>
>Most of the Win95B system will only see the most up to 2G of diskspace on
>a mapped NT server, even thought the mapped space had more that 2G of diskspace
>which I had confirm and verify. Therefore, I am confused whether this problem
>is due to win95B or any other issue. Thank advise and comment. Thank for your
>help

One more thing, you should check, even though it's Win95B, to make absolutely sure that the function is available. Do this with:
DECLARE INTEGER GetProcAddress IN Win32API;
  INTEGER hModule, STRING @lpProcName
DECLARE INTEGER GetModuleHandle IN Win32API;
  STRING @lpModuleName
lcproc = "kernel32.dll"
lcmodule = "GetDiskFreeSpaceExA"
IF GetProcAddress(GetModuleHandle(lcproc), @lcmodule) # 0
  ? "GetDiskFreeSpaceEx Available!"
ELSE
  ? "GetDiskFreeSpaceEx Not Available!"
ENDIF
This will assure that some application didn't replace kernel32 with an older version.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform