www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/01/09:15:17

Date: Sun, 1 Jun 1997 16:11:44 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Michael D. Ryan" <dbrotherhood AT geocities DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: HELP: Overlayed Programs/Functions
In-Reply-To: <338dfa3e.183904@usenet.nau.edu>
Message-ID: <Pine.SUN.3.91.970601161113.24182F-100000@is>
MIME-Version: 1.0

On Thu, 29 May 1997, Michael D. Ryan wrote:

> How would I use functions from program1 in a spawned program
> (program2)?  IE: I have functions for drawing screens, dialogueboxes,
> etc.  I want to use them in my spawned program program2 without having
> to include them in a compiled stand-alone version.  The functions
> library is huge 500K and is not worth including in some programs.  So
> I would like to be able to use the functions by running program2 from
> program1 (which is a shell of sorts).  Is there any way to do this?

One way is to use the DLM (Dynamically-Loaded Modules) package written by
Ilya P. Ryzhenkov <ilya AT spy DOT isp DOT nsc DOT ru>, available from his machine,
ftp://spy.isp.nsc.ru/sys/pub/dlm/.  (It is described in the DJGPP FAQ,
btw.)

- Raw text -


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