Get base address inside a dll
Hello, I'm trying to hook a program's function using dll injection.
Problem is, I don't know how to retrieve the process's base address.
I know that
will give me the base address when called from inside a process, how can I can get the same address from inside the dll ?
Problem is, I don't know how to retrieve the process's base address.
I know that
Code:
GetModuleHandle(NULL);
