🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: API to lock folder

#9062
From: Bob Gonder
Date: Tue, 10 Aug 2004 20:39
6 lines
1137 bytes
JD wrote:

>Is there an API that will grant exclusive write to the entire
>folder but still allow others to read the files?

I'm thinking CreateFile() with the appropriate Shares.
Technical Details
Message-ID: <tbcih0l8s6uo528din2b8ku686u20ps3p8@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4118ab0b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c846d3be2b53d281
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: API to lock folder
Date: Tue, 10 Aug 2004 13:39:47 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <tbcih0l8s6uo528din2b8ku686u20ps3p8@4ax.com>
References: <4118ab0b$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.255.131
X-Trace: newsgroups.borland.com 1092170383 69.69.255.131 (10 Aug 2004 13:39:43 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail