Solved

DISKFREE for large Disks

Posted on 1998-05-26
2
241 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mobile Keyboard covers the display of the TMemo 3 114
Magic Software info 18 154
Delphi 2 91
IP without any Dots 1 99
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…

734 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