Article View: borland.public.cppbuilder.nativeapi
Article #16995How to set security settings on a Reg Key
From: Claire W
Date: Sun, 13 Apr 2003 16:27
Date: Sun, 13 Apr 2003 16:27
16 lines
1553 bytes
1553 bytes
Hi all, I'm trying to use SetSecurityInfo(), and I'm including aclapi.h, but I'm getting the error message, Ambiguity between 'PACCESS_MASK' and Windows::PACCESS_MASK'. How should I resolve this ambiguity, and which should I use? (I'm trying to give a registry key a NULL DACL, so all users can access it. BCB5 Pro With Patch. Win XP Home.) 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'). I'm a bit of a newbie to all this NT based multi-user stuff. Thanks Claire.
Technical Details
Message-ID:
<3e9990a7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,4f35fdfc32f2cf25,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-13 09:36:40 PST From: "Claire W" <cmw.walker@BeeeeTinternet.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: How to set security settings on a Reg Key Date: Sun, 13 Apr 2003 17:27:52 +0100 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4920.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4920.2300 NNTP-Posting-Host: 213.122.111.6 Message-ID: <3e9990a7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1050251431 213.122.111.6 (13 Apr 2003 09:30:31 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail