🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6855

How to know the disk free space of a drive

#6855
From: Christophe MINETTI
Date: Thu, 07 Apr 2005 07:32
10 lines
1144 bytes
Hi,

I would like to know how to get the disk free space of a specific hard
drive. I get the ID of this drive by a TDriveComboBox. I tried to use
the function DiskFreeSpace(byte aDrive) but how to make the link between
aDrive and the actual Drive listed from the TDriveComboBox ?

Many thanks in advance.

Christophe
Technical Details
Message-ID: <4254E1FB.53E94ED0@ulb.ac.be>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,82889fc6b282f000,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Message-ID: <4254E1FB.53E94ED0@ulb.ac.be>
Date: Thu, 07 Apr 2005 09:32:11 +0200
From: Christophe MINETTI <cminetti@ulb.ac.be>
X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to know the disk free space of a drive
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 164.15.88.32
X-Trace: newsgroups.borland.com 1112859120 164.15.88.32 (7 Apr 2005 00:32:00 -0800)
Lines: 11
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail