🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Lock File

#14676
From: Remy Lebeau (TeamB)
Date: Wed, 06 Aug 2003 16:49
14 lines
1511 bytes
"Andrue Cope" <not.a.valid@email.address.sorry> wrote in message
news:VA.00001e88.01939e59@email.address.sorry...

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

That depends on which access rights were actually specified when the file
was opened.  Keep in mind that this question is being posted in the API
group, soJD is most likely using CreateFile().  You have to specify your own
rights when calling it, it has no default settings.


Gambit
Technical Details
Message-ID: <3f31302b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f310f5c$1@newsgroups.borland.com> <VA.00001e88.01939e59@email.address.sorry>

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 10:10:36 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f310f5c$1@newsgroups.borland.com> <VA.00001e88.01939e59@email.address.sorry>
Subject: Re: Lock File
Date: Wed, 6 Aug 2003 09:49:41 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f31302b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060188203 207.175.226.26 (6 Aug 2003 09:43:23 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail