Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 27-Mar-12 10:40am
v2
Comments
wizardzz 27-Mar-12 16:40pm    
What have you tried?
Sumit Makhe 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 28-Mar-12 12:11pm    
You might want to try posting your code.
Sumit Makhe 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900