[fpc-pascal]cluster size info for win9x/go32
Jonas Maebe
jonas at zeus.rug.ac.be
Fri Sep 29 09:23:15 CEST 2000
>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...
You simply need two completely different procedures to do this under Dos
and Win32. Under Win32, you don't communicate anymore with the OS using
interrupts (so calling int 21h will probably just crash a win32 program).
You already have the Dos version, the windows versio probably needs some
function from the windows unit to get the information about a drive.
Which one you need can probably be found on msdn.microsoft.com
Jonas
More information about the fpc-pascal
mailing list