Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mcnc!ecsvax!ugogan From: ugogan@ecsvax.UUCP (Jim Gogan) Newsgroups: comp.sys.ibm.pc Subject: Opening files for shared read in Turbo Pascal Message-ID: <2793@ecsvax.UUCP> Date: Tue, 17-Mar-87 10:05:11 EST Article-I.D.: ecsvax.2793 Posted: Tue Mar 17 10:05:11 1987 Date-Received: Wed, 18-Mar-87 06:50:44 EST Organization: UNC - Chapel Hill Lines: 19 Has anyone found a way to get Turbo Pascal to open random access files in read only mode to allow shared concurrent access over an MS-DOS 3.1/NETBIOS-based network? Normally, Turbo opens files in read/write mode only, producing "sharing violation ... abort, retry, ignore" error messages. (At least the version of Turbo we have does.) We could trap those errors & have users wait till file is free, but would obviously prefer shared access. Thoughts, anyone?? -- Jim Gogan (ugogan@ecsvax) Microcomputing Support Center University of North Carolina at Chapel Hill -- Jim Gogan mail:ugogan@ecsvax (UUCP/BITNET) Microcomputing Support Center University of North Carolina at Chapel Hill Chapel Hill, NC 27514