Click here to Skip to main content
15,890,043 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to wait for folder to finish copy Pin
icsr15-Oct-07 7:19
icsr15-Oct-07 7:19 
QuestionRe: How to wait for folder to finish copy Pin
David Crow15-Oct-07 8:01
David Crow15-Oct-07 8:01 
AnswerRe: How to wait for folder to finish copy Pin
icsr15-Oct-07 12:59
icsr15-Oct-07 12:59 
QuestionRe: How to wait for folder to finish copy Pin
David Crow16-Oct-07 2:20
David Crow16-Oct-07 2:20 
GeneralRe: How to wait for folder to finish copy Pin
icsr16-Oct-07 2:21
icsr16-Oct-07 2:21 
GeneralRe: How to wait for folder to finish copy Pin
David Crow16-Oct-07 3:11
David Crow16-Oct-07 3:11 
QuestionRe: How to wait for folder to finish copy Pin
icsr16-Oct-07 4:31
icsr16-Oct-07 4:31 
AnswerRe: How to wait for folder to finish copy Pin
David Crow16-Oct-07 4:45
David Crow16-Oct-07 4:45 
icsr wrote:
I am also trying to understand what you have done in FaxWatch.


Nothing that would help here. Knowing when an operation starts is easy, but knowing when an operation is done is not. I would hazard a guess that even the OS does not know such a thing. When an application starts a file/folder operation, only it knows when it will be done.

You could try something brute-force like taking a snapshot of the folder when you first detect a change, and then re-checking that folder every few seconds to see if anything differs (e.g., file sizes).


"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: How to wait for folder to finish copy Pin
icsr16-Oct-07 4:59
icsr16-Oct-07 4:59 
QuestionCreateProcess without Administrator Rights Pin
Michael Bergman15-Oct-07 7:01
Michael Bergman15-Oct-07 7:01 
AnswerRe: CreateProcess without Administrator Rights Pin
Xing Chen15-Oct-07 15:23
Xing Chen15-Oct-07 15:23 
QuestionPlain C Question Pin
#realJSOP15-Oct-07 5:42
mve#realJSOP15-Oct-07 5:42 
AnswerRe: Plain C Question Pin
Matthew Faithfull15-Oct-07 5:51
Matthew Faithfull15-Oct-07 5:51 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 5:58
mve#realJSOP15-Oct-07 5:58 
GeneralRe: Plain C Question Pin
Matthew Faithfull15-Oct-07 6:13
Matthew Faithfull15-Oct-07 6:13 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 7:13
mve#realJSOP15-Oct-07 7:13 
GeneralRe: Plain C Question Pin
Matthew Faithfull15-Oct-07 7:24
Matthew Faithfull15-Oct-07 7:24 
GeneralRe: Plain C Question Pin
led mike15-Oct-07 6:20
led mike15-Oct-07 6:20 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 6:36
mve#realJSOP15-Oct-07 6:36 
GeneralRe: Plain C Question Pin
led mike15-Oct-07 6:46
led mike15-Oct-07 6:46 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 7:11
mve#realJSOP15-Oct-07 7:11 
GeneralRe: Plain C Question Pin
led mike15-Oct-07 7:47
led mike15-Oct-07 7:47 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 8:42
mve#realJSOP15-Oct-07 8:42 
GeneralRe: Plain C Question Pin
led mike15-Oct-07 8:46
led mike15-Oct-07 8:46 
GeneralRe: Plain C Question Pin
#realJSOP15-Oct-07 9:59
mve#realJSOP15-Oct-07 9:59 

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.