[fpc-pascal]cluster size info for win9x/go32

Lee, John LeeJ at logica.com
Thu Sep 28 20:19:47 CEST 2000


Marco's version works fine for fat32 and fat16...

Only 2 issues/problems:
1)it needs go32 (uses it to copy data) so can't be used in a fpc win32
program. Looks as if there ought to be a variant using only the dos unit, to
extend it for fat32, using INT 21h/AX=7303h... Apparently this works for
fat16 too ... if someone knows the algorithm, I'll try it... 

2) doesn't pick up correct cluster size of a networked drive under win9x.
This may be a windoze/win9x problem tho... Anyone know whether there is a
fix for this?

FUNCTION ClusterSize(Drv:LONGINT):LONGINT;

...snip...





More information about the fpc-pascal mailing list