delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/20/16:40:41

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10112202142.AA18564@clio.rice.edu>
Subject: Re: RFC - Dynamic loading
To: djgpp-workers AT delorie DOT com
Date: Thu, 20 Dec 2001 15:42:24 -0600 (CST)
In-Reply-To: <250B3114DA16D511B82C00E0094005F8055AC7E9@MSGWAW11> from "=?iso-8859-2?Q?Wojciech_Ga=B3=B1zka?=" at Dec 20, 2001 06:10:30 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Can both a TSR and a non-TSR programs use the same copy of dynamic library
> at the same time ?

Not really - there is no way to pass this information about it being
loaded.  Any writable variables would need their own instance and need
to be correctly relative to the start of the selector pointing to them.

> Is it possible to make interrupt calls from such a dynamic library ?

You can do this currently, but not with dpmi_int (since it has 
external references).  Simple things like this is what I want to
fix most of all.

> How about file I/O calls from within the library (with whose PSP) ?

File I/O would work in the new version, but whoever loaded it would
define where the data structures were based.  It wouldn't mess with
the PSP at all.

- Raw text -


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