🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16997

Re: How to set security settings on a Reg Key

#16997
From: Remy Lebeau (TeamB)
Date: Sun, 13 Apr 2003 20:22
13 lines
1370 bytes
"Claire W" <cmw.walker@BeeeeTinternet.com> wrote in message
news:3e9990a7@newsgroups.borland.com...

> BTW, is what I'm trying to do OK? I want to create a key
> under HKEY_LOCAL_MACHINE that all users have write
> access to (it is a  subkey off of 'Software').

The Registry has its own security functions.  Have a look at using
RegSetKeySecurity() instead of SetSecurityInfo().


Gambit
Technical Details
Message-ID: <3e99c6df$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e9990a7@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4f35fdfc32f2cf25
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-13 13:32:04 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e9990a7@newsgroups.borland.com>
Subject: Re: How to set security settings on a Reg Key
Date: Sun, 13 Apr 2003 13:22:20 -0700
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3e99c6df$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050265311 207.175.226.26 (13 Apr 2003 13:21:51 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail