DLOpen: how to get the Elf32_Handle roothandle?
Posted: Sun Nov 06, 2016 2:54 pm
In the autodoc for elf.library the DLOpen function is said to require an ELF handle:
What is the correct way of getting this handle from my current running program?RootHandle - The ELF handle of the program using this function.
The user program is responsible for passing this, which MUST be
a valid elf handle and MUST be this program's elf handle, plus
it must have been re-opened. The handle may be re-closed after
this call, but must be open anytime a DL#? function is called.