🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [bds2006] Can vcl appl use SetNamedSecurityInfo()?

#1040
From: Bob Gonder
Date: Thu, 15 Nov 2007 16:17
17 lines
1374 bytes
dhoke wrote:

>How does one make straightforward use of SetNamedSecurityInfo() in a module 
>that includes vcl.h?

>#include <vcl.h>
>#include <aclapi.h>

>'PACCESS_MASK' and 'Windows::PACCESS_MASK'

That is defined in 2 places: Windows.hpp and winnt.h
aclapi wants the winnt version.

Doing it this way will get you that:

#include <aclapi.h>
#include <vcl.h>
Technical Details
Message-ID: <b4soj31tl9vp26q3j5ddduep0cgcpaceuu@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <473c4335$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ffb5c25f9ee4103d
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: [bds2006] Can vcl appl use SetNamedSecurityInfo()?
Date: Thu, 15 Nov 2007 08:17:38 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <b4soj31tl9vp26q3j5ddduep0cgcpaceuu@4ax.com>
References: <473c4335$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 69.69.84.87
X-Trace: newsgroups.borland.com 1195143456 69.69.84.87 (15 Nov 2007 08:17:36 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail