|
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!
Last edited by Dragonis40; 17-09-2023 at 04:22.
|