Re: dll.e question

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hayden McKay wrote:
> 
> I think I've seen a similar post for this before. I could probably do some
> testing
> to figure this out but heres may question anyway...
> 
> I want to use KERNEL32.DLL-GetProcAddress() to get the address of a c routine,
> I have some embedded asm code that uses c funcs and i want to link it
> staticly,
> ie: the returned addresses will either be from a *.dll or a *.so file...
> anyway
> i want to know if I can pass dll.e's open_dll() return value to
> GetProcAddress()
> or do I have to use GetModuleHandle() or LoadLibrary() to aquire the correct
> handle?

The entry point that open_dll() returns is good for Windows, as shown in the
dsearch.exw demo program. Hopefully the same holds under Linux for .so files.

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu