Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 3rd, 2005, 3:10 PM   #1
Tolca
Newbie
 
Join Date: Jan 2005
Posts: 1
Rep Power: 0 Tolca is on a distinguished road
This is my first post so please be gentle

Maybe im not trying hard enough but I can't find any info on finding the capacity of a drive. I'm using Visual Studio .NET 2003 and the help just doesn't mention it. I would have thought there would be a function that retreives is something like GetSystemInfo() (GetDriveInfo() maybe). If anyone could point me in the right direction I'd be grateful I'm pulling my hair out.

Cheers All
Tolca is offline   Reply With Quote
Old Jan 4th, 2005, 5:27 AM   #2
SubhadeepGhosh
Newbie
 
Join Date: Jan 2005
Posts: 4
Rep Power: 0 SubhadeepGhosh is on a distinguished road
Hey,
You can use...GetDiskFreeSpaceEx function to get the free disk space as well as the total size of a disk.

for further reference you can download b5ms.zip (17Mb) from ftp://ftp.borland.com/pub/bcppbuilder/techpubs/

or download the platform sdk (350 Mb) from www.microsoft.com
SubhadeepGhosh is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:38 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC