Solved

DISKFREE for large Disks

Posted on 1998-05-26
2
230 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
Comment Utility
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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now