Date: Sun, 1 Jun 1997 16:11:44 +0300 (IDT) From: Eli Zaretskii To: "Michael D. Ryan" cc: djgpp AT delorie DOT com Subject: Re: HELP: Overlayed Programs/Functions In-Reply-To: <338dfa3e.183904@usenet.nau.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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 , available from his machine, ftp://spy.isp.nsc.ru/sys/pub/dlm/. (It is described in the DJGPP FAQ, btw.)