Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!uw-beaver!tikal!hplsla!davidr From: davidr@hplsla.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: Opening files for shared read in Turbo Pascal Message-ID: <5280003@hplsla.HP.COM> Date: Sun, 22-Mar-87 04:06:17 EST Article-I.D.: hplsla.5280003 Posted: Sun Mar 22 04:06:17 1987 Date-Received: Wed, 25-Mar-87 00:35:40 EST References: <2793@ecsvax.UUCP> Organization: HP Lake Stevens Lines: 16 I am not an authority, but will share my impression of what Turbo is doing, and what I do to make this work. It appears from my experience that Turbo is using the earlier DOS read function calls (possibly for compatibility with earlier versions of DOS), and therefore you will have problems with the Turbo routines for Reset and Open. I created a program a while ago to make a copy of one disc to another (including ALL files and directories, including Hidden, Read-only and System files and directories, excluding the DOS boot files) so that I could quickly and easily copy one 20 MByte hard disc to another Hard disc of a different size. I used the newer DOS function call 3D (and related 3x function calls), which allowed me to read files regardless of attribute. You can actually specify how you want the file opened (exclusively, shared, etc.), and whether the file must be a "normal" file, or can have special attributes. Of course, all of this means having to write your own procedures to access DOS (though this is really quite simple). I hope this point you in a direction to accomplish your needs.