Solved

DISKFREE for large Disks

Posted on 1998-05-26
2
237 Views
Last Modified: 2012-05-04
I guess that under WIN95 and NT4.0 with large disks (free space more than 1 GB !) DISKFREE doesnt work correct.
For I have no disk with such a lot of free space, i can not check it.
If it is true, what can I do instead of DISKFREE ??
0
Comment
Question by:titz
2 Comments
 
LVL 1

Accepted Solution

by:
ssite earned 50 total points
ID: 1347973
Simple, go to sysutils.pas and look for diskfree. Create a new func called Largediskfree which does the same but the result is a double or an extended.

Let me know. :-)
0
 
LVL 1

Author Comment

by:titz
ID: 1347974
hallo ssite,
i think this works. but think of the range for longint : only till 2GB this will work. Therefore i have modified the function:
it returns the freesize not in bytes but in Kbytes !
thanks and regards

titz

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
indy Tmemory stream non latin charcter issue 2 112
Delphi 2 60
Tvertscrollbox like a whatsapp layout delete messages 1 17
can i put an image from resource into image tag ? 6 25
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question