Click here to Skip to main content
15,914,071 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: how do i know the number of messages left unprocessed in a message queue? Pin
David Crow22-Jul-08 2:50
David Crow22-Jul-08 2:50 
GeneralRe: how do i know the number of messages left unprocessed in a message queue? Pin
Mark Salsbery22-Jul-08 4:57
Mark Salsbery22-Jul-08 4:57 
QuestionDeletion of a directory Pin
Abhinay Kumar21-Jul-08 4:12
Abhinay Kumar21-Jul-08 4:12 
AnswerRe: Deletion of a directory Pin
David Crow21-Jul-08 5:01
David Crow21-Jul-08 5:01 
GeneralRe: Deletion of a directory Pin
Abhinay Kumar21-Jul-08 6:52
Abhinay Kumar21-Jul-08 6:52 
GeneralRe: Deletion of a directory Pin
David Crow21-Jul-08 7:00
David Crow21-Jul-08 7:00 
GeneralRe: Deletion of a directory Pin
Abhinay Kumar22-Jul-08 21:36
Abhinay Kumar22-Jul-08 21:36 
QuestionRe: Deletion of a directory Pin
David Crow23-Jul-08 7:40
David Crow23-Jul-08 7:40 
Abhinay Kumar wrote:
HANDLE hFile = INVALID_HANDLE_VALUE;
WIN32_FIND_DATA fd;


Do you not like MFC's CFileFind class? Your code is much longer than it needs to be as a result.

Abhinay Kumar wrote:
NameAppendFile (buffer, "*.*");


Why are you using this function when CString has its own concatenation method?

That said, have you stepped through this code using the debugger? You'll hopefully notice that the path parameter does not contain a valid path when called recursively (hint: it's missing a backslash).

"Love people and use things, not love things and use people." - Unknown

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


QuestionHow to Call structures from c# dll Pin
manju#12321-Jul-08 3:09
manju#12321-Jul-08 3:09 
QuestionRe: How to Call structures from c# dll Pin
David Crow21-Jul-08 3:53
David Crow21-Jul-08 3:53 
AnswerRe: How to Call structures from c# dll Pin
Alan Balkany21-Jul-08 5:39
Alan Balkany21-Jul-08 5:39 
QuestionUser privillage Pin
pooja_friends21-Jul-08 2:32
pooja_friends21-Jul-08 2:32 
AnswerRe: User privillage Pin
KarstenK21-Jul-08 2:49
mveKarstenK21-Jul-08 2:49 
QuestionEdit System file Pin
pooja_friends21-Jul-08 2:31
pooja_friends21-Jul-08 2:31 
AnswerRe: Edit System file Pin
David Crow21-Jul-08 2:49
David Crow21-Jul-08 2:49 
AnswerRe: Edit System file Pin
_AnsHUMAN_ 21-Jul-08 2:52
_AnsHUMAN_ 21-Jul-08 2:52 
GeneralRe: Edit System file Pin
pooja_friends21-Jul-08 4:04
pooja_friends21-Jul-08 4:04 
QuestionProcessShellCommand() gives unhandled exception in VS2005 Pin
Shaileshhex21-Jul-08 1:42
Shaileshhex21-Jul-08 1:42 
AnswerRe: ProcessShellCommand() gives unhandled exception in VS2005 Pin
_AnsHUMAN_ 21-Jul-08 1:48
_AnsHUMAN_ 21-Jul-08 1:48 
AnswerRe: ProcessShellCommand() gives unhandled exception in VS2005 Pin
KarstenK21-Jul-08 2:50
mveKarstenK21-Jul-08 2:50 
QuestionRe: ProcessShellCommand() gives unhandled exception in VS2005 Pin
David Crow21-Jul-08 2:53
David Crow21-Jul-08 2:53 
AnswerRe: ProcessShellCommand() gives unhandled exception in VS2005 Pin
Shaileshhex21-Jul-08 4:47
Shaileshhex21-Jul-08 4:47 
GeneralRe: ProcessShellCommand() gives unhandled exception in VS2005 Pin
Shaileshhex21-Jul-08 4:49
Shaileshhex21-Jul-08 4:49 
QuestionRe: ProcessShellCommand() gives unhandled exception in VS2005 Pin
David Crow21-Jul-08 4:55
David Crow21-Jul-08 4:55 
Questionbutton click Pin
sanjayvenkat21-Jul-08 1:29
sanjayvenkat21-Jul-08 1:29 

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.