Quote:
Originally Posted by Dragonis40
function GetVolumeFreeSpace(const RootDir: PAnsichar; const OutSizeType: Byte): Double; external 'GetVolumeFreeSpace@files:Isab.dll stdcall delayload';
Good morning, how to extract the value from the function above?
I've tried:
value.Caption:=StrToInt(GetVolumeFreeSpace);
value.Caption:=FloatToStr(GetVolumeFreeSpace);
value.Caption:=StrToFloat(GetVolumeFreeSpace);
I have "invalid parameters" issue.
How can i fix the problem? Thanks in advance!
|
if you want to get free and total bytes or megabytes on a drive,
Use this function instead.
__________________
¤ Life good be a Dream ¤
Last edited by Lord.Freddy; 17-09-2023 at 06:06.
|