Re: How to get imagebase after a DLL gets loaded
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Thu, 30 Nov 2006 17:39:31 -0500
"Jack" <jl@xxxxxxxxxx> wrote in message
news:uUz3aYFFHHA.2268@xxxxxxxxxxxxxxxxxxxxxxx
I am wondering whether I should use
MapViewofFile to get the imagebase of a DLL
after loading that module using LoadLibrary?
I see that you have already gotten a few suggestions.
FWIW: Another thing that you can do _after_ the load is to call
VirtualQuery() passing it the address of some function in the DLL. That will
yield the DLL's base address among other bits of information.
Regards,
Will
.
- Follow-Ups:
- Re: How to get imagebase after a DLL gets loaded
- From: anton bassov
- Re: How to get imagebase after a DLL gets loaded
- References:
- How to get imagebase after a DLL gets loaded
- From: Jack
- How to get imagebase after a DLL gets loaded
- Prev by Date: Re: How to disable service in Vista ?
- Next by Date: Re: Dealing with HANDLEs
- Previous by thread: Re: How to get imagebase after a DLL gets loaded
- Next by thread: Re: How to get imagebase after a DLL gets loaded
- Index(es):
Relevant Pages
|