![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jan 2005
Posts: 1
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#2 |
|
Newbie
Join Date: Jan 2005
Posts: 4
Rep Power: 0
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|