home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!spool.mu.edu!clark!pacifier!nathans
- From: nathans@pacifier.rain.com (Nathan Silva)
- Subject: DOS file locking
- Message-ID: <1993Jan23.014932.20065@pacifier.rain.com>
- Organization: Pacifier BBS
- Date: Sat, 23 Jan 1993 01:49:32 GMT
- Lines: 21
-
-
-
- I am writing a small Windows application in Turbo C++. I'd like
- to lock a region of a file so that other processes can still read
- it, but cannot write to it. However, when I use the standard
- lock/unlock functions, other processes cannot read the locked region.
-
- How can I do "read-only" locking?
-
- ObSetupInfo: Yes, SHARE is loaded. I'm using DOS 5.0, Windows 3.1,
- Turbo C++ for Windows 3.0.
-
- Please reply by e-mail to nathans@pacifier.rain.com.
-
- Nathan
-
- --
- -------------------------------------------------------
- | Nathan Silva | |
- | nathans@pacifier.rain.com | Do the World News Polka! |
- -------------------------------------------------------
-