Click here to Skip to main content
15,891,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to loop through a directory Pin
Sarath C6-Aug-08 0:06
Sarath C6-Aug-08 0:06 
GeneralRe: How to loop through a directory Pin
Sarath C6-Aug-08 0:10
Sarath C6-Aug-08 0:10 
AnswerRe: How to loop through a directory Pin
Jijo.Raj6-Aug-08 0:09
Jijo.Raj6-Aug-08 0:09 
JokeRe: How to loop through a directory [modified] Pin
SandipG 6-Aug-08 0:11
SandipG 6-Aug-08 0:11 
JokeRe: How to loop through a directory Pin
Jijo.Raj6-Aug-08 0:14
Jijo.Raj6-Aug-08 0:14 
GeneralRe: How to loop through a directory Pin
Jijo.Raj6-Aug-08 1:01
Jijo.Raj6-Aug-08 1:01 
QuestionRe: How to loop through a directory Pin
David Crow6-Aug-08 7:20
David Crow6-Aug-08 7:20 
QuestionCreateFile OPEN_EXISTING problem in Vista Pin
NiceNaidu5-Aug-08 23:37
NiceNaidu5-Aug-08 23:37 
Hi Friends,
I have written the following code for knowing whether i have access to a particular directory.

CreateFile( (LPCTSTR)szDir, 0, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
where szDir is "C:\\ProgramData\\NewFolder" . It has all kind of access permission.
This is working fine in all OS,but not in Vista.
Can someone tell me the reason.
I am getting ACCESS_DENIED on Vista.

Please try the same on your machine and you will also see same behavior.

Thanks in advance.

Appu..
"Never explain yourself to anyone.
Because the person who likes you does n't need it.
And the person who dislikes you won't believe it."

AnswerRe: CreateFile OPEN_EXISTING problem in Vista Pin
SandipG 6-Aug-08 0:03
SandipG 6-Aug-08 0:03 
AnswerRe: CreateFile OPEN_EXISTING problem in Vista Pin
_AnsHUMAN_ 6-Aug-08 0:04
_AnsHUMAN_ 6-Aug-08 0:04 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
NiceNaidu6-Aug-08 0:12
NiceNaidu6-Aug-08 0:12 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista [modified] Pin
SandipG 6-Aug-08 0:35
SandipG 6-Aug-08 0:35 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
NiceNaidu6-Aug-08 0:41
NiceNaidu6-Aug-08 0:41 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
SandipG 6-Aug-08 0:43
SandipG 6-Aug-08 0:43 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
NiceNaidu6-Aug-08 0:49
NiceNaidu6-Aug-08 0:49 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
SandipG 6-Aug-08 0:50
SandipG 6-Aug-08 0:50 
AnswerRe: CreateFile OPEN_EXISTING problem in Vista Pin
ShilpiP6-Aug-08 0:52
ShilpiP6-Aug-08 0:52 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
NiceNaidu6-Aug-08 1:54
NiceNaidu6-Aug-08 1:54 
GeneralRe: CreateFile OPEN_EXISTING problem in Vista Pin
ShilpiP6-Aug-08 2:28
ShilpiP6-Aug-08 2:28 
Question[ActiveX] Event from inner control Pin
CyanApple5-Aug-08 23:31
CyanApple5-Aug-08 23:31 
QuestionWarning with templates Pin
sunny_vc5-Aug-08 23:23
sunny_vc5-Aug-08 23:23 
AnswerRe: Warning with templates Pin
toxcct5-Aug-08 23:26
toxcct5-Aug-08 23:26 
QuestionHow can Create Shortcut key? Pin
Le@rner5-Aug-08 22:16
Le@rner5-Aug-08 22:16 
AnswerRe: How can Create Shortcut key? Pin
Perspx5-Aug-08 22:34
Perspx5-Aug-08 22:34 
GeneralRe: How can Create Shortcut key? Pin
Le@rner5-Aug-08 23:08
Le@rner5-Aug-08 23:08 

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.