Click here to Skip to main content
15,902,276 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: compare c++/MFC to C#/.net Pin
Loreia10-Jan-09 6:09
Loreia10-Jan-09 6:09 
AnswerRe: compare c++/MFC to C#/.net Pin
Stuart Dootson10-Jan-09 13:36
professionalStuart Dootson10-Jan-09 13:36 
AnswerRe: compare c++/MFC to C#/.net Pin
Green Fuze11-Jan-09 6:48
Green Fuze11-Jan-09 6:48 
Question::FindFirstFile problem [modified] Pin
Loreia10-Jan-09 4:48
Loreia10-Jan-09 4:48 
AnswerRe: ::FindFirstFile problem Pin
Luc Pattyn10-Jan-09 5:15
sitebuilderLuc Pattyn10-Jan-09 5:15 
GeneralRe: ::FindFirstFile problem Pin
Loreia10-Jan-09 5:52
Loreia10-Jan-09 5:52 
GeneralRe: ::FindFirstFile problem Pin
Luc Pattyn10-Jan-09 6:03
sitebuilderLuc Pattyn10-Jan-09 6:03 
GeneralRe: ::FindFirstFile problem Pin
Loreia10-Jan-09 6:20
Loreia10-Jan-09 6:20 
Thanks again Big Grin | :-D

I've read that sentence like 300 times in last few days, and I must admit that I don't fully understand it. OK, English is my second language (third in fact) and I may be missing something, but this is how I see it:

When application sets FILE_ATTRIBUTE_TEMPORARY attribute this information *should* be written somewhere in file system, and GetFileAttributes and FindFirstFile *should* read the same thing from file system.

I don't understand why these two functions report different Attributes on FAT.
Now, I can implement my class in such a way that when searching for FILE_ATTRIBUTE_TEMPORARY attribute, my class would additionally call GetFileAttributes within FindNextFile block.

But I find this workaround a bit clumsy, and I was hoping to avoid it.

Best regards
loreia
GeneralRe: ::FindFirstFile problem Pin
Luc Pattyn10-Jan-09 6:46
sitebuilderLuc Pattyn10-Jan-09 6:46 
GeneralRe: ::FindFirstFile problem Pin
Loreia10-Jan-09 7:55
Loreia10-Jan-09 7:55 
GeneralRe: ::FindFirstFile problem Pin
Luc Pattyn10-Jan-09 8:09
sitebuilderLuc Pattyn10-Jan-09 8:09 
GeneralRe: ::FindFirstFile problem Pin
Loreia10-Jan-09 8:33
Loreia10-Jan-09 8:33 
GeneralRe: ::FindFirstFile problem Pin
Randor 10-Jan-09 8:59
professional Randor 10-Jan-09 8:59 
GeneralRe: ::FindFirstFile problem Pin
Loreia10-Jan-09 10:09
Loreia10-Jan-09 10:09 
GeneralRe: ::FindFirstFile problem Pin
Randor 10-Jan-09 10:45
professional Randor 10-Jan-09 10:45 
GeneralRe: ::FindFirstFile problem Pin
Loreia10-Jan-09 10:56
Loreia10-Jan-09 10:56 
GeneralRe: ::FindFirstFile problem Pin
Luc Pattyn10-Jan-09 10:11
sitebuilderLuc Pattyn10-Jan-09 10:11 
QuestionRe: ::FindFirstFile problem Pin
David Crow12-Jan-09 3:36
David Crow12-Jan-09 3:36 
AnswerRe: ::FindFirstFile problem Pin
Loreia12-Jan-09 7:24
Loreia12-Jan-09 7:24 
QuestionCan I handle click events on a static control [SOLVED] Pin
sashoalm10-Jan-09 4:15
sashoalm10-Jan-09 4:15 
AnswerRe: Can I handle click events on a static control Pin
Randor 10-Jan-09 4:35
professional Randor 10-Jan-09 4:35 
GeneralRe: Can I handle click events on a static control Pin
sashoalm10-Jan-09 5:01
sashoalm10-Jan-09 5:01 
GeneralRe: Can I handle click events on a static control Pin
Code-o-mat10-Jan-09 5:43
Code-o-mat10-Jan-09 5:43 
GeneralRe: Can I handle click events on a static control Pin
Randor 10-Jan-09 6:15
professional Randor 10-Jan-09 6:15 
GeneralRe: Can I handle click events on a static control [modified] Pin
sashoalm10-Jan-09 6:59
sashoalm10-Jan-09 6: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.