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?

An easier way is to use define_c_var.  It simply returns the address of the
symbol.  While made for using variables, it works for routines, as well.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu