retn
06-21-2008, 12:48 PM
Hi, might be a newb question but I cant figure it out.
I have successfully injected an external program to another process.
The process contains lots of dlls with interesting functions.
I wanna call some functions from these dlls, but it ends up with eip points to nothing.
The export address from one function is like 10164D10. It just has one parameter, just a zero
and this is how i tried it.
void test () {
__asm {
push eax
push 0
call dword ptr ds:[0x10164D10]
pop eax
}
}
Dont care about the ret value, but whats wrong?
Why i cant call it? im sure its all loaded and nothing fails.
//EDIT ... doh.. its done i solved it
I have successfully injected an external program to another process.
The process contains lots of dlls with interesting functions.
I wanna call some functions from these dlls, but it ends up with eip points to nothing.
The export address from one function is like 10164D10. It just has one parameter, just a zero
and this is how i tried it.
void test () {
__asm {
push eax
push 0
call dword ptr ds:[0x10164D10]
pop eax
}
}
Dont care about the ret value, but whats wrong?
Why i cant call it? im sure its all loaded and nothing fails.
//EDIT ... doh.. its done i solved it