View Single Post
  #22  
Old 26-05-2022, 00:24
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
could you provide an example of how you calculate the free space needed for installation. if any additional checkboxes are marked. you have an example, but it is not completed
is this not enough?

Code:
function InitDiskUsage: FDiskUsage;

// DISK
 FDiskUsage = interface(IUnknown)
   '{08403E71-113A-4F88-960F-36296CB8AAA1}'
    procedure SetDir(Const ADir: String);
    function DiskLoad: Cardinal;
    function TotalSpace: Double;
    function FreeSpace: Double;
    function UsedSpace: Double;
 end;
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (10-06-2022)