www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/06/22:17:15

From: myknees AT aol DOT com (Myknees)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Exe functions
Lines: 21
Message-ID: <1998080702102600.WAA14628@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Date: 07 Aug 1998 02:10:08 GMT
References: <35C74377 DOT D33B09D6 AT cartsys DOT com>
Organization: AOL http://www.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <35C74377 DOT D33B09D6 AT cartsys DOT com>, Nate Eldredge <nate AT cartsys DOT com>
writes:

>Travis Smith wrote:
>> 
>> Is it possible to use a function inside another exe file with out copying
>to
>> function into the other file and recomplining?
>
>In general, no.

I missed the original message, but maybe what you're looking for is dynamic
linking.  You can do that with a Windows application by using a function in a
.dll file.  You can so something similar in an environment like Linux that
supports dynamically linking from the standard libraries.

...Come to think of it, why couldn't that (dynamically-linking standard
libraries) be done in DOS with djgpp?  Does it require asynchronous processes? 
Or maybe it would just be too slow.

--Ed (Myknees)

- Raw text -


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