Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Some DLL questions !!! Pin
moliate7-May-02 11:00
moliate7-May-02 11:00 
GeneralRe: Some DLL questions !!! Pin
KarstenK8-May-02 0:23
mveKarstenK8-May-02 0:23 
GeneralCAnimateCtrl Problem... Pin
7-May-02 3:41
suss7-May-02 3:41 
GeneralRe: CAnimateCtrl Problem... Pin
Joaquín M López Muñoz7-May-02 6:01
Joaquín M López Muñoz7-May-02 6:01 
GeneralRe: CAnimateCtrl Problem... Pin
7-May-02 23:58
suss7-May-02 23:58 
GeneralRe: CAnimateCtrl Problem... Pin
KarstenK8-May-02 0:20
mveKarstenK8-May-02 0:20 
GeneralOut of Memory Pin
vinumpillai7-May-02 3:24
vinumpillai7-May-02 3:24 
GeneralProblems with setting access rights in Registry Pin
Grit7-May-02 3:18
Grit7-May-02 3:18 
Hi
I have a problem and hope you can help. I have a software that creates a registry key unter HKEY_LOCAL_MACHINE/Software. Because of some Problems with that I had to change the access rights on the key SOFTWARE and add an user there and said in the regedt32 program that it shall exchange the access rights also for the sub keys too.

When I run my software and it creates the new key then this key géts automatical the same access rights from the SOFTWARE-key.

To make it easier for my customers I wanted to write a small tool that adds this special user and the access right to the SOFTWARE-key automatical and changes the access rights for the subkeys too (people are scared to work with regedt32 and change something).

Everything works fine ... I read the current users and add the new user to that key and then I go through the subkeys and make the same changes. The only problem is that when my original software is running and creates its own key that new key doesn't get the access rights from the SOFTWARE-key. My guess is that the tickmark in the regedt32 dialog is doing something else than just going through the tree and exchanging the access rights but also tells the main key that it shall monitor if new subkeys are created and give it its own new access rights too or something like that. Now the problem is that I don't know how to make my tool doing the same. Is there some kind of flag or function that I have to call so that every new created subkey has to get the same access rights like the SOFTWARE-key?

Thank you for your help
Grit
GeneralRe: Problems with setting access rights in Registry Pin
Navin7-May-02 8:24
Navin7-May-02 8:24 
GeneralRe: Problems with setting access rights in Registry Pin
Grit7-May-02 8:39
Grit7-May-02 8:39 
GeneralControls' properties Pin
Vis7-May-02 2:19
Vis7-May-02 2:19 
GeneralRe: Controls' properties Pin
Michael Martin7-May-02 2:55
professionalMichael Martin7-May-02 2:55 
GeneralRe: Controls' properties Pin
Max Santos7-May-02 3:45
Max Santos7-May-02 3:45 
GeneralRe: Controls' properties Pin
Atilla Selem7-May-02 6:59
Atilla Selem7-May-02 6:59 
GeneralMinimum CDialog size Pin
LittleYellowBird7-May-02 1:35
LittleYellowBird7-May-02 1:35 
GeneralRe: Minimum CDialog size Pin
Niklas L7-May-02 1:50
Niklas L7-May-02 1:50 
GeneralRe: Minimum CDialog size Pin
LittleYellowBird7-May-02 2:44
LittleYellowBird7-May-02 2:44 
GeneralRe: Minimum CDialog size Pin
Jim A. Johnson7-May-02 6:15
Jim A. Johnson7-May-02 6:15 
GeneralRe: Minimum CDialog size Pin
CMFC6.0VS.NETUser7-May-02 6:47
CMFC6.0VS.NETUser7-May-02 6:47 
Generalmenu problems Pin
7-May-02 1:16
suss7-May-02 1:16 
GeneralBitmap Pin
karanba7-May-02 1:04
karanba7-May-02 1:04 
GeneralRe: Bitmap Pin
Christian Graus7-May-02 1:16
protectorChristian Graus7-May-02 1:16 
GeneralRe: Bitmap Pin
karanba7-May-02 1:41
karanba7-May-02 1:41 
GeneralRe: Bitmap Pin
Christian Graus7-May-02 11:20
protectorChristian Graus7-May-02 11:20 
QuestionDebug Assertion & Combo Box? Pin
Aoife7-May-02 0:31
Aoife7-May-02 0:31 

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.