Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MFC Homework API VC++
I have a list of files. I want to calculate total amount of space required by these files. For that, I have to calculate folder size. After the calculation of total size of file; I want to know how much free space is available at the destination. Then draw 3D Pie Chart for Required and Available spaces. I'm using VC++ 2010 MFC application. so my questions are:
 
1. How to calculate size of folder without all recursion?
2. How to get destination drive space?
3. How to draw attractive 3D Pie Charts in VC++ MFC?
Posted 27-Mar-12 9:26am
Edited 27-Mar-12 11:40am
(no name)104.9K
v2
Comments
wizardzz at 27-Mar-12 16:40pm
   
What have you tried?
Sumit Makhe at 28-Mar-12 12:09pm
   
GetFileSize API in recursion but it takes too much time. As I mentioned I have list of files so it takes too much time to load (using this code in paint method)
wizardzz at 28-Mar-12 12:11pm
   
You might want to try posting your code.
Sumit Makhe at 28-Mar-12 12:15pm
   
is there any API or Shell function to get folder size? I will upload my code tonight

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 235
1 DamithSL 225
2 OriginalGriff 198
3 George Jonsson 170
4 Maciej Los 165
0 OriginalGriff 5,305
1 DamithSL 4,382
2 Maciej Los 3,760
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,901


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 27 Mar 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100