🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Lock File

#14670
From: Andrue Cope
Date: Wed, 06 Aug 2003 15:06
16 lines
1420 bytes
Jd,

> I'd like to lock a file from any access by other users so I can
> modify it and then unlock it.
> 
> Could someone please point me in the roght direction?
>

If you mean lock while your application is using it then this is the 
default mode when you open a file.

If you mean lock even when your application is not using it then I 
don't know.
--
Andrue Cope
[Bicester, UK]
Technical Details
Message-ID: <VA.00001e88.01939e59@email.address.sorry>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f310f5c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,98f8eb89363be2d
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-06 08:10:57 PST
Date: Wed, 06 Aug 2003 16:06:18 +0100
Newsgroups: borland.public.cppbuilder.nativeapi
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va
Message-ID: <VA.00001e88.01939e59@email.address.sorry>
Subject: Re: Lock File
From: Andrue Cope <not.a.valid@email.address.sorry>
Reply-To: not.a.valid@email.address.sorry
References: <3f310f5c$1@newsgroups.borland.com>
NNTP-Posting-Host: 217.207.223.34
X-Trace: newsgroups.borland.com 1060182443 217.207.223.34 (6 Aug 2003 08:07:23 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail