Click here to Skip to main content
14,365,608 members

C / C++ / MFC

 
AnswerRe: Failure to remove folders after using CFileDialog DoModal Pin
Freak3016-Jun-15 1:21
memberFreak3016-Jun-15 1:21 
GeneralRe: Failure to remove folders after using CFileDialog DoModal Pin
Jochen Arndt16-Jun-15 1:24
mveJochen Arndt16-Jun-15 1:24 
GeneralRe: Failure to remove folders after using CFileDialog DoModal Pin
Still learning how to code16-Jun-15 3:08
memberStill learning how to code16-Jun-15 3:08 
AnswerRe: Failure to remove folders after using CFileDialog DoModal Pin
Jochen Arndt16-Jun-15 1:22
mveJochen Arndt16-Jun-15 1:22 
GeneralRe: Failure to remove folders after using CFileDialog DoModal Pin
Still learning how to code16-Jun-15 3:12
memberStill learning how to code16-Jun-15 3:12 
GeneralRe: Failure to remove folders after using CFileDialog DoModal Pin
Jochen Arndt16-Jun-15 3:24
mveJochen Arndt16-Jun-15 3:24 
GeneralRe: Failure to remove folders after using CFileDialog DoModal - **** FIXED (I think !) **** Pin
Still learning how to code16-Jun-15 3:54
memberStill learning how to code16-Jun-15 3:54 
GeneralRe: Failure to remove folders after using CFileDialog DoModal - **** FIXED (I think !) **** Pin
Jochen Arndt16-Jun-15 4:19
mveJochen Arndt16-Jun-15 4:19 
Thank you for your feedback. _chdir will internally call SetCurrentDirectory.

A directory that is selected as current directory is treated like a file in use and can't be deleted. It seems that the file dialog selects the actually shown directory as the current one and does not change it back. There is an OFN_NOCHANGEDIR file dialog option to restore the original directory but that is ignored for opening files (only supported for the Save as dialog).
QuestionRe: Failure to remove folders after using CFileDialog DoModal Pin
David Crow16-Jun-15 5:21
memberDavid Crow16-Jun-15 5:21 
QuestionExisting VR Frame Renderers Pin
Trevor Johansen15-Jun-15 16:25
memberTrevor Johansen15-Jun-15 16:25 
QuestionLoad CSV file to a database in Windows 64bit Pin
aks.14-Jun-15 23:36
memberaks.14-Jun-15 23:36 
AnswerRe: Load CSV file to a database in Windows 64bit Pin
Jochen Arndt15-Jun-15 0:45
mveJochen Arndt15-Jun-15 0:45 
QuestionNew to C++ and Programming, Absolutely new Pin
Member 1176562614-Jun-15 19:36
memberMember 1176562614-Jun-15 19:36 
AnswerRe: New to C++ and Programming, Absolutely new Pin
Amarnath S14-Jun-15 20:00
professionalAmarnath S14-Jun-15 20:00 
GeneralRe: New to C++ and Programming, Absolutely new Pin
Member 1176562614-Jun-15 20:26
memberMember 1176562614-Jun-15 20:26 
GeneralRe: New to C++ and Programming, Absolutely new Pin
Richard MacCutchan14-Jun-15 22:42
protectorRichard MacCutchan14-Jun-15 22:42 
QuestionAfxGetApp anomaly Pin
ForNow10-Jun-15 10:18
memberForNow10-Jun-15 10:18 
QuestionOdd property sheet behavior Pin
David Crow10-Jun-15 5:41
memberDavid Crow10-Jun-15 5:41 
AnswerRe: Odd property sheet behavior Pin
Chris Losinger10-Jun-15 6:26
professionalChris Losinger10-Jun-15 6:26 
QuestionAdd lib by pragma Pin
_Flaviu10-Jun-15 1:32
member_Flaviu10-Jun-15 1:32 
AnswerRe: Add lib by pragma Pin
David Crow10-Jun-15 3:46
memberDavid Crow10-Jun-15 3:46 
GeneralRe: Add lib by pragma Pin
_Flaviu11-Jun-15 0:25
member_Flaviu11-Jun-15 0:25 
Questionbad pointer error when I read a class object with CString member Pin
manoharbalu8-Jun-15 21:13
membermanoharbalu8-Jun-15 21:13 
Answer[Repost] Pin
Sascha Lefèvre8-Jun-15 21:36
professionalSascha Lefèvre8-Jun-15 21:36 
SuggestionRe: bad pointer error when I read a class object with CString member Pin
David Crow9-Jun-15 6:37
memberDavid Crow9-Jun-15 6:37 

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.