X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: John Elliott Newsgroups: comp.os.msdos.djgpp Subject: Re: Reading sectors: Error 0x701F Date: Sun, 16 Apr 2006 20:34:37 +0100 Lines: 11 Message-ID: References: NNTP-Posting-Host: seasip.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.demon.co.uk 1145216077 419 62.49.4.197 (16 Apr 2006 19:34:37 GMT) X-Complaints-To: abuse AT demon DOT net NNTP-Posting-Date: Sun, 16 Apr 2006 19:34:37 +0000 (UTC) In-Reply-To: X-Accept-Language: en-gb, en, en-us User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040115 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Rod Pemberton wrote: > Okay, I didn't look at your code. Int 25h and int 21h/ax=7305 will work > under real-mode DOS. To get them to work under Win98/98SE/ME etc., you'll > need to add Windows file locking code. The only working example of this > that I've found is Orwtin Glueck's "ODI's" LFN Tools: I'll have to try that. But I tried using the command-line LOCK tool before running the program, and it didn't make any difference. I also wrote a 16-bit program to make the same calls, and that could read sectors using INT 25h or INT 21h/AX=7305h whether or not I ran LOCK in advance.