Click here to Skip to main content
15,908,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: OPC Pin
Blake V. Miller8-Oct-05 15:12
Blake V. Miller8-Oct-05 15:12 
GeneralRe: OPC Pin
Marc Soleda9-Oct-05 20:27
Marc Soleda9-Oct-05 20:27 
QuestionODBC with VC++ Pin
sirtimid6-Oct-05 22:10
sirtimid6-Oct-05 22:10 
AnswerRe: ODBC with VC++ Pin
KaЯl7-Oct-05 2:08
KaЯl7-Oct-05 2:08 
GeneralRe: ODBC with VC++ Pin
sirtimid7-Oct-05 2:59
sirtimid7-Oct-05 2:59 
GeneralRe: ODBC with VC++ Pin
KaЯl7-Oct-05 4:07
KaЯl7-Oct-05 4:07 
GeneralRe: ODBC with VC++ Pin
sirtimid7-Oct-05 4:22
sirtimid7-Oct-05 4:22 
QuestionHelp needed - to retrieve the security permissions over a Folder/file Pin
6-Oct-05 22:03
suss6-Oct-05 22:03 
I need to check the security permissions over a folder(which means i need to iterate over the ACE's from the DACL)and check whether the logged in user has some permissions over them.

Heres how i approached this problem -

1)I am using GetFileSecurity() function to get the Security descriptor for
this folder.
2)Next i check whether this descriptor is valid using IsValidSecurityDescriptor().It returns TRUE.

3)Next, i am using the function GetSecurityDescriptorDacl() to get the DACL.
4)The second parameter to this function is an out parameter (a pointer to a bool)which is set to TRUE if DACL is present.

IT is here that in this out parameter i am getting a FALSE value.
What does this imply(coz right clikin the folder to retrieve the security permissions i can get a DACL)

please help





Anmol

-- modified at 7:44 Friday 7th October, 2005
Questionmfc edit box Pin
swaapu6-Oct-05 21:58
swaapu6-Oct-05 21:58 
AnswerRe: mfc edit box Pin
P-Rex6-Oct-05 22:43
P-Rex6-Oct-05 22:43 
AnswerRe: mfc edit box Pin
toxcct6-Oct-05 22:42
toxcct6-Oct-05 22:42 
AnswerRe: mfc edit box Pin
ThatsAlok7-Oct-05 0:32
ThatsAlok7-Oct-05 0:32 
QuestionSWF in VC++ Pin
Nishad S6-Oct-05 21:44
Nishad S6-Oct-05 21:44 
AnswerRe: SWF in VC++ Pin
Axonn Echysttas6-Oct-05 22:38
Axonn Echysttas6-Oct-05 22:38 
QuestionSerial Communication in MFC Pin
vikas amin6-Oct-05 21:30
vikas amin6-Oct-05 21:30 
AnswerRe: Serial Communication in MFC Pin
Roger Stoltz6-Oct-05 21:42
Roger Stoltz6-Oct-05 21:42 
GeneralRe: Serial Communication in MFC Pin
vikas amin7-Oct-05 2:08
vikas amin7-Oct-05 2:08 
Questionwhite remnant occur when scroll bar is click. Pin
babyspidy6-Oct-05 21:20
babyspidy6-Oct-05 21:20 
AnswerRe: white remnant occur when scroll bar is click. Pin
KaЯl7-Oct-05 2:02
KaЯl7-Oct-05 2:02 
GeneralRe: white remnant occur when scroll bar is click. Pin
babyspidy7-Oct-05 4:28
babyspidy7-Oct-05 4:28 
GeneralRe: white remnant occur when scroll bar is click. Pin
KaЯl7-Oct-05 4:44
KaЯl7-Oct-05 4:44 
GeneralRe: white remnant occur when scroll bar is click. Pin
babyspidy7-Oct-05 5:00
babyspidy7-Oct-05 5:00 
GeneralRe: white remnant occur when scroll bar is click. Pin
babyspidy7-Oct-05 4:47
babyspidy7-Oct-05 4:47 
QuestionMFC Radio Buttons issue Pin
Axonn Echysttas6-Oct-05 21:18
Axonn Echysttas6-Oct-05 21:18 
AnswerRe: MFC Radio Buttons issue Pin
Roger Stoltz6-Oct-05 21:37
Roger Stoltz6-Oct-05 21: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.