TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: All
from: Paul Edwards
date: 1996-10-12 04:12:30
subject: file handles

PE> functions were fopen(), _fsopen(), _openfile(), open().  I assumed that 
PE> 1E73:0000 was DosOpen(), because
PE> it created the actual file, but I'll have to investigate that further. 

Almost a dead cert.

PE> and changed that last "720D" to "EB0D" to always
jump (succeed) as oppose 
PE> to only succeeding if the number was less than 20.

PE> This enabled me to get up to 17 open files, however the ones with a fileno 
PE> > 19 were unusable.  In other words, the change that I
PE> made to the CRT was incorrect.

Ah!  They were only unusable because there is another check in write() to
make sure you don't write to a FH > 19.  I found the following code:

8B5E06
3b1e1d01
7208

changed the 72 to an eb, and she worked!

Now "all" I need to do is find similar code in CL.EXE (or it's
components) and I'll be in business.  I hope!  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.