Click here to Skip to main content
16,014,631 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Passing a class function pointer as an argument Pin
Cyrilix9-Jun-07 14:52
Cyrilix9-Jun-07 14:52 
AnswerRe: Passing a class function pointer as an argument Pin
Mark Salsbery9-Jun-07 15:01
Mark Salsbery9-Jun-07 15:01 
GeneralRe: Passing a class function pointer as an argument Pin
Cyrilix9-Jun-07 15:17
Cyrilix9-Jun-07 15:17 
GeneralRe: Passing a class function pointer as an argument Pin
Mark Salsbery9-Jun-07 15:28
Mark Salsbery9-Jun-07 15:28 
GeneralRe: Passing a class function pointer as an argument Pin
Cyrilix9-Jun-07 15:40
Cyrilix9-Jun-07 15:40 
GeneralRe: Passing a class function pointer as an argument Pin
Mark Salsbery9-Jun-07 15:59
Mark Salsbery9-Jun-07 15:59 
QuestionSet registry key permissions Pin
KellyR9-Jun-07 10:42
KellyR9-Jun-07 10:42 
QuestionRe: Set registry key permissions Pin
KellyR9-Jun-07 12:07
KellyR9-Jun-07 12:07 
I've been trying to change the registry key permissions by using the access control list, but I still have some questions:

So I'm able to get as far as getting the ACL for one of my registry keys, and iterating through the ACE's of that ACL. But my problem is, how can I tell which ACEs have which permissions set? I want to find any that have the Delete permission denied, and remove those from the list (using DeleteAce()) but I don't know how to tell which ACEs have Delete denied for any users.

int FindAceIndexToDelete(PACL pACL)<br />
{<br />
int i = 0;<br />
PVOID pTempAce;<br />
int i = 0;<br />
<br />
while (1) {<br />
if (!GetAce(pACL, i, &pTempAce))<br />
    break;<br />
<br />
 // So now I have a pointer to the Ace, in TempAce<br />
 // So I want to figure out whether it denies delete access, if so, remove it<br />
 // BUT HOW DO I CHECK?<br />
 i++;<br />
}<br />
}




KR

AnswerRe: Set registry key permissions Pin
KellyR10-Jun-07 6:51
KellyR10-Jun-07 6:51 
QuestionHelp Pin
dellthinker9-Jun-07 10:32
dellthinker9-Jun-07 10:32 
AnswerRe: Help Pin
KellyR9-Jun-07 11:03
KellyR9-Jun-07 11:03 
AnswerRe: Help Pin
Christian Graus9-Jun-07 14:10
protectorChristian Graus9-Jun-07 14:10 
QuestionForce Closing of a Module Pin
Bram van Kampen9-Jun-07 9:37
Bram van Kampen9-Jun-07 9:37 
AnswerRe: Force Closing of a Module Pin
Perspx9-Jun-07 13:26
Perspx9-Jun-07 13:26 
AnswerRe: Force Closing of a Module Pin
Mark Salsbery9-Jun-07 14:21
Mark Salsbery9-Jun-07 14:21 
GeneralRe: Force Closing of a Module Pin
Bram van Kampen10-Jun-07 3:17
Bram van Kampen10-Jun-07 3:17 
QuestionAfxGetApp()->LoadStandardIcon but no Icon!! Pin
mercenary019-Jun-07 8:12
mercenary019-Jun-07 8:12 
AnswerRe: AfxGetApp()->LoadStandardIcon but no Icon!! Pin
Mark Salsbery9-Jun-07 8:28
Mark Salsbery9-Jun-07 8:28 
GeneralRe: AfxGetApp()->LoadStandardIcon but no Icon!! Pin
mercenary019-Jun-07 16:49
mercenary019-Jun-07 16:49 
GeneralRe: AfxGetApp()->LoadStandardIcon but no Icon!! Pin
Mark Salsbery9-Jun-07 18:35
Mark Salsbery9-Jun-07 18:35 
Questionresetting pagefaults Pin
JimmyRopes9-Jun-07 7:42
professionalJimmyRopes9-Jun-07 7:42 
QuestionExporting a function to DLL Pin
Cyrilix9-Jun-07 7:08
Cyrilix9-Jun-07 7:08 
AnswerRe: Exporting a function to DLL Pin
karle9-Jun-07 7:23
karle9-Jun-07 7:23 
GeneralRe: Exporting a function to DLL Pin
Cyrilix9-Jun-07 7:31
Cyrilix9-Jun-07 7:31 
AnswerRe: Exporting a function to DLL Pin
Mark Salsbery9-Jun-07 8:16
Mark Salsbery9-Jun-07 8:16 

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.