www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/01/02:02:59

Date: Mon, 31 Oct 94 21:33:03 -0500
From: dj AT stealth DOT ctron DOT com (DJ Delorie)
To: dtauritz AT WI DOT LeidenUniv DOT NL
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu, dliu AT faraday-gw DOT njit DOT edu
Subject: Re: coff format?

> >I've never figured out how to manage that either, otherwise djgpp
> >would have been using shared libraries a long time ago :-)
> 
> You can use a global variable in your client which was declared in your DLL
> as well as a global variable in your DLL which was declared in your client.
> 
> An example of how to use a global variable in your client which was declared
> in your DLL:

The problem is, you have to be able to handle errno, stdin,
etc. correctly, so you don't always have the luxury of using pointers.


- Raw text -


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