Click here to Skip to main content
15,897,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to know file type and its protection type for office files? Pin
Richard MacCutchan25-Dec-13 23:57
mveRichard MacCutchan25-Dec-13 23:57 
QuestionDirectShow - video resize interpolation Pin
sdancer7523-Dec-13 22:09
sdancer7523-Dec-13 22:09 
AnswerRe: DirectShow - video resize interpolation Pin
sdancer757-Jan-14 23:20
sdancer757-Jan-14 23:20 
AnswerRe: DirectShow - video resize interpolation Pin
sdancer754-Mar-14 21:52
sdancer754-Mar-14 21:52 
QuestionStuck at FILE_ATTRIBUTE_REPARSE_POINT attribute Pin
vishalgpt23-Dec-13 19:39
vishalgpt23-Dec-13 19:39 
AnswerRe: Stuck at FILE_ATTRIBUTE_REPARSE_POINT attribute Pin
Richard MacCutchan23-Dec-13 22:11
mveRichard MacCutchan23-Dec-13 22:11 
AnswerRe: Stuck at FILE_ATTRIBUTE_REPARSE_POINT attribute Pin
Randor 24-Dec-13 19:00
professional Randor 24-Dec-13 19:00 
AnswerRe: Stuck at FILE_ATTRIBUTE_REPARSE_POINT attribute Pin
jschell25-Dec-13 8:03
jschell25-Dec-13 8:03 
vishalgpt wrote:
I am writing a program which will copy a directory tree and delete the source


Do you have an actual business case for this?

vishalgpt wrote:
How to deal with this situation when dealing with FILE_ATTRIBUTE_REPARSE_POINT


Depends on your business case but one very obvious and easy solution involves the following steps.
- Stop
- Report an error.

Some more complex solutions would be to span the tree before starting and refuse to continue if any problems are found.

Just curious what is your application going to do if the the files/directories are in use when you are deleting (which is probably much more likely than what you are asking.)
QuestionLittle OT, but I am really puzzled by this. Pin
Vaclav_23-Dec-13 15:12
Vaclav_23-Dec-13 15:12 
AnswerRe: Little OT, but I am really puzzled by this. Pin
enhzflep23-Dec-13 21:02
enhzflep23-Dec-13 21:02 
AnswerRe: Little OT, but I am really puzzled by this. Pin
Richard MacCutchan23-Dec-13 22:09
mveRichard MacCutchan23-Dec-13 22:09 
QuestionRe: Little OT, but I am really puzzled by this. Pin
CPallini26-Dec-13 7:17
mveCPallini26-Dec-13 7:17 
AnswerRe: Little OT, but I am really puzzled by this. Pin
Vaclav_26-Dec-13 8:20
Vaclav_26-Dec-13 8:20 
GeneralRe: Little OT, but I am really puzzled by this. Pin
CPallini26-Dec-13 9:04
mveCPallini26-Dec-13 9:04 
QuestionCan't call a VB6 function from C Pin
Arm5523-Dec-13 5:42
Arm5523-Dec-13 5:42 
QuestionRe: Can't call a VB6 function from C Pin
David Crow23-Dec-13 5:44
David Crow23-Dec-13 5:44 
AnswerRe: Can't call a VB6 function from C Pin
Arm5523-Dec-13 7:01
Arm5523-Dec-13 7:01 
GeneralRe: Can't call a VB6 function from C Pin
Richard Andrew x6423-Dec-13 9:13
professionalRichard Andrew x6423-Dec-13 9:13 
GeneralRe: Can't call a VB6 function from C Pin
Arm5523-Dec-13 10:08
Arm5523-Dec-13 10:08 
GeneralRe: Can't call a VB6 function from C Pin
Richard Andrew x6423-Dec-13 16:43
professionalRichard Andrew x6423-Dec-13 16:43 
GeneralRe: Can't call a VB6 function from C Pin
Arm5524-Dec-13 4:41
Arm5524-Dec-13 4:41 
GeneralRe: Can't call a VB6 function from C Pin
Richard Andrew x6424-Dec-13 6:51
professionalRichard Andrew x6424-Dec-13 6:51 
GeneralRe: Can't call a VB6 function from C Pin
Arm5524-Dec-13 7:11
Arm5524-Dec-13 7:11 
GeneralRe: Can't call a VB6 function from C Pin
Randor 24-Dec-13 18:12
professional Randor 24-Dec-13 18:12 
GeneralRe: Can't call a VB6 function from C Pin
Arm5525-Dec-13 9:25
Arm5525-Dec-13 9:25 

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.