Click here to Skip to main content
15,903,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: it works perfectly now [modified] Pin
Software_Developer20-May-10 20:08
Software_Developer20-May-10 20:08 
GeneralRe: it works perfectly now Pin
Aescleal20-May-10 22:17
Aescleal20-May-10 22:17 
GeneralRe: You must be the Quality assurance team Pin
Software_Developer20-May-10 23:31
Software_Developer20-May-10 23:31 
QuestionHow to set breakpoint to step through CTabCtrl draw ... [modified] Pin
theFrenchHornet20-May-10 11:45
theFrenchHornet20-May-10 11:45 
Questionc++ combo list box Pin
mrby12320-May-10 5:55
mrby12320-May-10 5:55 
QuestionRe: c++ combo list box Pin
David Crow20-May-10 6:13
David Crow20-May-10 6:13 
AnswerRe: c++ combo list box Pin
mrby12320-May-10 6:25
mrby12320-May-10 6:25 
AnswerRe: c++ combo list box Pin
David Crow20-May-10 6:55
David Crow20-May-10 6:55 
GeneralRe: c++ combo list box Pin
mrby12320-May-10 9:58
mrby12320-May-10 9:58 
AnswerRe: c++ combo list box Pin
David Crow20-May-10 10:22
David Crow20-May-10 10:22 
GeneralRe: c++ combo list box Pin
mrby12320-May-10 12:23
mrby12320-May-10 12:23 
AnswerRe: c++ combo list box Pin
David Crow20-May-10 16:25
David Crow20-May-10 16:25 
GeneralRe: c++ combo list box [modified] Pin
mrby12320-May-10 18:54
mrby12320-May-10 18:54 
GeneralRe: c++ combo list box Pin
David Crow21-May-10 3:17
David Crow21-May-10 3:17 
QuestionCFile::Remove fails [Resolved] Pin
Mike Osbahr20-May-10 5:31
Mike Osbahr20-May-10 5:31 
AnswerRe: CFile::Remove fails Pin
jeron120-May-10 5:42
jeron120-May-10 5:42 
GeneralRe: CFile::Remove fails Pin
Mike Osbahr20-May-10 6:42
Mike Osbahr20-May-10 6:42 
GeneralRe: CFile::Remove fails Pin
jeron120-May-10 6:48
jeron120-May-10 6:48 
GeneralRe: CFile::Remove fails Pin
Mike Osbahr20-May-10 7:12
Mike Osbahr20-May-10 7:12 
QuestionRe: CFile::Remove fails Pin
David Crow20-May-10 6:56
David Crow20-May-10 6:56 
AnswerRe: CFile::Remove fails Pin
Mike Osbahr20-May-10 7:20
Mike Osbahr20-May-10 7:20 
QuestionRe: CFile::Remove fails Pin
David Crow20-May-10 7:37
David Crow20-May-10 7:37 
AnswerRe: CFile::Remove fails Pin
Mike Osbahr20-May-10 7:58
Mike Osbahr20-May-10 7:58 
QuestionRe: CFile::Remove fails Pin
David Crow20-May-10 6:18
David Crow20-May-10 6:18 
Mike Osbahr wrote:
Any other ideas what might be going on?


Since CFile::Remove() is just a thin wrapper around DeleteFile(), why not call DeleteFile() directly? If it fails, call GetLastError() to find out why? This is what Remove() is doing when it throws an exception.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Man who follows car will be exhausted." - Confucius


AnswerRe: CFile::Remove fails Pin
Luc Pattyn20-May-10 9:18
sitebuilderLuc Pattyn20-May-10 9:18 

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.