Click here to Skip to main content
15,913,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to implement Invalidation/Redraw pattern Pin
P. Gnana Prakash16-Jun-04 5:30
P. Gnana Prakash16-Jun-04 5:30 
AnswerRe: How to implement Invalidation/Redraw pattern Pin
Blake Miller16-Jun-04 13:38
Blake Miller16-Jun-04 13:38 
AnswerRe: How to implement Invalidation/Redraw pattern Pin
Johan Rosengren16-Jun-04 21:08
Johan Rosengren16-Jun-04 21:08 
GeneralBuilding a neural network Pin
pavanbabut16-Jun-04 5:20
pavanbabut16-Jun-04 5:20 
GeneralMessage Before window displayed Pin
sschilachi16-Jun-04 4:59
sschilachi16-Jun-04 4:59 
GeneralRe: Message Before window displayed Pin
Ravi Bhavnani16-Jun-04 5:00
professionalRavi Bhavnani16-Jun-04 5:00 
GeneralRe: Message Before window displayed Pin
sschilachi16-Jun-04 5:34
sschilachi16-Jun-04 5:34 
GeneralGetting the filesize of all files inside of a folder, quicker Pin
Dean Michaud16-Jun-04 4:55
Dean Michaud16-Jun-04 4:55 
I am wondering if anyone has any other ways of tallying up the filesize of all files in a folder than the following:

Using CFileFind recursively to get a list of all files in the specified folder and its subfolders, and calling CFile::GetStatus() on each file found to tally the total filesize.<br />

I've discovered that this is quite quick to do for folders with thousands of files if it is on a local HD, but if it's across the LAN on a seperate box it is rather slow to do this.

I need a different way of doing this that will be much quicker: I have a set of many folders to check filesizes on, and if just one folder is taking 20 seconds, it's killer to wait for a set of 50 folders, heheheh.

If anyone has a better way, let me know! Smile | :)

: Dean 'Karnatos' Michaud
GeneralRe: Getting the filesize of all files inside of a folder, quicker Pin
palbano16-Jun-04 5:53
palbano16-Jun-04 5:53 
GeneralRe: Getting the filesize of all files inside of a folder, quicker Pin
bikram singh16-Jun-04 6:03
bikram singh16-Jun-04 6:03 
GeneralRe: Getting the filesize of all files inside of a folder, quicker Pin
Anonymous16-Jun-04 6:16
Anonymous16-Jun-04 6:16 
GeneralRe: Getting the filesize of all files inside of a folder, quicker Pin
palbano16-Jun-04 6:24
palbano16-Jun-04 6:24 
GeneralRe: Getting the filesize of all files inside of a folder, quicker Pin
Dean Michaud16-Jun-04 10:59
Dean Michaud16-Jun-04 10:59 
GeneralRe: Getting the filesize of all files inside of a folder, quicker Pin
Blake Miller16-Jun-04 13:42
Blake Miller16-Jun-04 13:42 
GeneralRe: Getting the filesize of all files inside of a folder, quicker Pin
Tim Smith16-Jun-04 16:43
Tim Smith16-Jun-04 16:43 
QuestionHow to complile WMI andf ADSI with studio version 6 ? Pin
vgrigor116-Jun-04 4:19
vgrigor116-Jun-04 4:19 
GeneralHelp!!! Pin
El'Cachubrey16-Jun-04 4:02
El'Cachubrey16-Jun-04 4:02 
GeneralRe: Help!!! Pin
Rodrigo Pinto Pereira de Souza16-Jun-04 7:22
Rodrigo Pinto Pereira de Souza16-Jun-04 7:22 
GeneralRe: Help!!! Pin
Rodrigo Pinto Pereira de Souza16-Jun-04 7:23
Rodrigo Pinto Pereira de Souza16-Jun-04 7:23 
GeneralRe: Help!!! Pin
El'Cachubrey16-Jun-04 22:22
El'Cachubrey16-Jun-04 22:22 
Generalurgent - how to write a DDE server program for Excel unsing VC++ Pin
swerajan16-Jun-04 3:47
swerajan16-Jun-04 3:47 
GeneralRe: urgent - how to write a DDE server program for Excel unsing VC++ Pin
toxcct16-Jun-04 4:06
toxcct16-Jun-04 4:06 
GeneralUsing VC++6 .dll and .lib in VC.NET Pin
Freddie Code16-Jun-04 3:38
Freddie Code16-Jun-04 3:38 
GeneralRe: Using VC++6 .dll and .lib in VC.NET Pin
Anthony_Yio16-Jun-04 16:34
Anthony_Yio16-Jun-04 16:34 
Generalcopiler hangup Pin
Michae_geffen16-Jun-04 2:43
Michae_geffen16-Jun-04 2:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.