Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DISKFREE for large Disks

Posted on 1998-05-26
2
Medium Priority
?
246 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 150 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

721 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