Wiki source for ioFindExternalFunctionIn

Show raw source

======**void *ioFindExternalFunctionIn(char *lookupName, void *moduleHandle)**======

lookupName char * to function name
moduleHandle magic number that identifies the module

entry address of the function, later we jump to that address hoping to execute code, or zero

**From**: Interpreter
Need to load entry point of function for later use in a procedure call

must return zero, or a valid address of executable code.

copy of the unix code

rewritten unix code

Not supported

invokes dlsym() returns the address of the code or data location specified by the null-terminated character string symbol. Which libraries and bundles are searched depends on the handle parameter.

Simple, GetProcAddress


Valid XHTML :: Valid CSS: :: Powered by WikkaWiki