delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/04/16/15:45:15

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: John Elliott <jce AT seasip DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Reading sectors: Error 0x701F
Date: Sun, 16 Apr 2006 20:34:37 +0100
Lines: 11
Message-ID: <e1u68d$d3$1$8302bc10@news.demon.co.uk>
References: <e1tgib$ns9$1$8300dec7 AT news DOT demon DOT co DOT uk> <e1tvdv$7ri$1 AT localhost DOT localdomain>
NNTP-Posting-Host: seasip.demon.co.uk
Mime-Version: 1.0
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: <e1tvdv$7ri$1@localhost.localdomain>
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

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019