| delorie.com/archives/browse.cgi | search | 
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f | 
| X-Authentication-Warning: | kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f | 
| Date: | Mon, 16 Aug 2004 11:46:52 -0500 | 
| From: | JT Williams <jeffw AT darwin DOT sfbr DOT org> | 
| To: | djgpp AT delorie DOT com | 
| Subject: | How to port djgpp _dxe_load? | 
| Message-ID: | <20040816164652.GA776@kendall.sfbr.org> | 
| Mail-Followup-To: | djgpp AT delorie DOT com | 
| Mime-Version: | 1.0 | 
| User-Agent: | Mutt/1.4.2.1i | 
| Reply-To: | djgpp AT delorie DOT com | 
I am using the following djgpp-specific code
to load/execute an external function:
char *fdxe;
_f0 = _dxe_load(fdxe);
if (_f0 == 0)
{
  /* error */
}
/* otherwise do stuff that calls external function */
return _f0(foo);
Is this code too djgpp-specific to port (easily)
to another OS (in particular, Solaris)?  Any tips
on how to do so would be appreciated.
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |