delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/02/10/17:29:53

From: kroe AT sbcs DOT sunysb DOT edu (KiYun Roe)
Date: Mon, 10 Feb 92 16:37:25 EST
To: Bill Metzenthen <APM233M AT vaxc DOT cc DOT monash DOT edu DOT au>
Subject: Re: Suggested change to go32
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Status: O

To access the additional handles, you would have to change go32 to use
the lower-level DOS calls directly instead of going through Turbo C's
wrappers.  I haven't looked at this closely yet, but it might even be
that using _open instead of open, _read instead of read, etc., would
give the right access (but with other implications, I'm sure).  In
addition, go32 should use a different PSP for the client program, so
that the client program can't mess around with go32's handles.  For
instance, I bet it's possible now for the client program to close
go32's handles.  I'm currently trying to design a simple multi-tasking
addition to go32 which will do the PSP switching (among many other
things) which is why I mentioned it I guess.

- Raw text -


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