Mail Archives: djgpp/1998/07/28/01:54:39
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
- Raw text -