Sender: nate AT cartsys DOT com Message-ID: <35BD5B38.F7665225@cartsys.com> Date: Mon, 27 Jul 1998 22:01:44 -0700 From: Nate Eldredge MIME-Version: 1.0 To: edkiser AT my-dejanews DOT com CC: djgpp AT delorie DOT com Subject: Re: Q: Dynamic Linking References: <6pffao$l9$1 AT nnrp1 DOT dejanews DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk edkiser AT my-dejanews DOT com wrote: > > The Windows API has some DLL functions that I can't find in DXE or DLM > implementations -- or in Linux. Here are the functions. > > HANDLE LoadLibrary(char * FileNameOfLibrary); > > void * GetProcAddress(HANDLE library, char * NameOfFunction); > > void FreeLibrary(HANDLE library); > > Is there anything like this in DJGPP or Linux? It would be nice! In Linux, they would be respectively `dlopen', `dlsym', and `dlclose'. For DXEs, the first two are done by `_dxe_load' (since a DXE has only one exported symbol), and the third is impossible. For DLM, you'll have to read its docs. -- Nate Eldredge nate AT cartsys DOT com