Mail Archives: djgpp/1997/06/01/09:15:17
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 -