LoadLibrary. If the module is not already mapped into memory which it won't be if your program doesn't use functions/import from it then GetModuleHandle() won't be returning a valid handle
well look.
i inject my dll into msn process to get it's socket id
so i guess the module is already mapped to msn right?!
all i want to do is to get the address of send
the handle to the module works perfectly
but for some reason i can't get the procedure's address :s
@@@@@EDIT:
lol i'm such a retard ...
forgot removing memory's protection XDDD
my bad
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum